Skip to content

Instantly share code, notes, and snippets.

View ParikhKadam's full-sized avatar

Kadam Parikh ParikhKadam

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ParikhKadam
ParikhKadam / finetune_sft_trl.py
Created April 28, 2025 09:33 — forked from younesbelkada/finetune_sft_trl.py
Benchmarking SFT trainer with 8bit models
# coding=utf-8
# Copyright 2023 The HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
@ParikhKadam
ParikhKadam / StableDiffusionUI_SageMaker.ipynb
Created April 12, 2024 16:45 — forked from ShMcK/StableDiffusionUI_SageMaker.ipynb
Config for running Automatic1111 Stable Diffusion WebUI on an AWS SageMaker Notebook
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ParikhKadam
ParikhKadam / large_world_model.ipynb
Created February 19, 2024 16:34 — forked from Mistobaan/large_world_model.ipynb
large_world_model.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
CREATE TEXT SEARCH CONFIGURATION fr ( COPY = french );
ALTER TEXT SEARCH CONFIGURATION fr ALTER MAPPING
FOR hword, hword_part, word WITH unaccent, french_stem;
CREATE TEXT SEARCH CONFIGURATION en ( COPY = english );
ALTER TEXT SEARCH CONFIGURATION en ALTER MAPPING
FOR hword, hword_part, word WITH unaccent, english_stem;
CREATE TEXT SEARCH CONFIGURATION de ( COPY = german );
ALTER TEXT SEARCH CONFIGURATION de ALTER MAPPING
@ParikhKadam
ParikhKadam / timed_cache.py
Created May 16, 2023 08:57 — forked from Morreski/timed_cache.py
Python lru_cache with timeout
from datetime import datetime, timedelta
import functools
def timed_cache(**timedelta_kwargs):
def _wrapper(f):
update_delta = timedelta(**timedelta_kwargs)
next_update = datetime.utcnow() + update_delta
# Apply @lru_cache to f with no cache size limit
@ParikhKadam
ParikhKadam / quantopian_lectures.md
Created January 7, 2023 16:23 — forked from ih2502mk/list.md
Quantopian Lectures Saved
@ParikhKadam
ParikhKadam / actionrecognitiondatasets.md
Created July 5, 2022 08:37 — forked from jin-zhe/actionrecognitiondatasets.md
An overview of action recognition datasets and their detection classes

Activity Recognition Datasets

An overview of recent action recognition datasets and their detection classes

Concepts & terminologies:

  • Action: Atomic low-level movement such as standing up, sitting down, walking, talking etc.
  • Activity/event: Higher level occurence then actions such as dining, playing, dancing
  • Trimmed video: A short video clip containing event/action/activity of interest
  • Untrimmed video: A video clip of arbitrary length potentially containing durations without activities of interest
  • Localization: locating an instance of event/action/activity within a video at a spatial or temporal scale
  • Spatial localization: Locating the region/area of an instance of action/activity within a video
@ParikhKadam
ParikhKadam / gist:f5e0e6840d5fb8cbd8250d517b6cb0a4
Created January 26, 2022 15:38 — forked from TamaraTrefilova/gist:ac33670921bb669bb762c2c02c0e88bd
Difference between ImplicitWait, ExplicitWait, FluentWait, PageLoadTimeOut and Thread.sleep in Selenium WebDriver
Difference between ImplicitWait, ExplicitWait, FluentWait, PageLoadTimeOut and Thread.sleep in Selenium WebDriver
Difference between ImplicitWait, ExplicitWait, FluentWait, PageLoadTimeOut and Thread.sleep in Selenium WebDriver
Synchronization in Selenium WebDriver:
1.What is Synchronization.
2.Why Synchronization is required.
3.When Synchronization is required.
4.Conditional and Unconditional Synchronization in Selenium WebDriver.
@ParikhKadam
ParikhKadam / selenium_with_python.rst
Created January 25, 2022 17:37 — forked from baijum/selenium_with_python.rst
Selenium with Python