dictionary_learning_demo

(★ 26)

No description available.

File Explorer

  • .gitignore
  • .gitmodules
  • dataset_test.py
  • demo.py
  • demo_config.py
  • dictionary_learning
  • graphing.ipynb
  • LICENSE
  • organize_and_upload_trainers.ipynb
  • parallel_training.py
  • pyproject.toml
  • README.md
  • test_scaling.ipynb

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

git config

View Details ▼

Manage custom configuration options for Git repositories.
These configurations can be local (for the current repository) or global (for the current user).

git config --global {{user.name|user.email}} "{{Your Name|[email protected]}}"

Globally set your name or email (this information is required to commit to a repository and will be included in all commits):

git config --{{local|global|system}} {{[-l|--list]}} --show-origin

List local, global, or system configuration entries and show their file location:

git config --global {{alias.unstage}} "reset HEAD --"

Set the global value of a given configuration entry (in this case an alias):

🔍

git submodule

View Details ▼

Inspect, update, and manage submodules.

git submodule

View existing submodules and the checked-out commit for each one:

git submodule update --init --recursive

Install a repository's submodules (listed in `.gitmodules`):

git submodule add {{repository_url}}

Add a Git repository as a submodule of the current one:

🔍

huggingface-cli

View Details ▼

This command is an alias of `hf`.

tldr hf

View documentation for the original command:

🔍

pip install

View Details ▼

Install Python packages.

pip install {{package1 package2 ...}}

Install one or more packages:

pip install {{package1 package2 ...}} {{[-U|--upgrade]}}

Upgrade all specified packages to the latest version, installing any that are not already present:

pip install {{package}}=={{version}}

Install a specific version of a package:

🔍

python

View Details ▼

Python language interpreter.

python

Start a REPL (interactive shell):

python {{path/to/file.py}}

Execute a specific Python file:

python -i {{path/to/file.py}}

Execute a specific Python file and start a REPL:

🔍

standard

View Details ▼

The JavaScript Standard Style tool for linting and fixing JavaScript code.

standard

Lint all JavaScript source files in the current directory:

standard {{path/to/file1 path/to/file2 ...}}

Lint specific JavaScript file(s):

standard --fix

Apply automatic fixes during linting:

// repository documentation