smoothie-qwen
A lightweight adjustment tool for smoothing token probabilities in the Qwen models to encourage balanced multilingual generation.
File Explorer
- exp1_min_scale.png
- exp2_smoothness.png
- flow_chart.png
- formula.png
- smoothie-qwen-logo.png
- smoothing_function_plot.png
- token_weight_heatmap_2d.png
- token_weight_heatmap_3d.png
- weight_comparison.png
- adjust.py
- analyze.py
- config.py
- identify.py
- main.py
- utils.py
- .gitignore
- config.yaml
- README.md
- requirements.txt
# Use via CDN
jsDelivrjsDelivr 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 clone
View Details ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
python
View Details ▼
python
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:
uv pip
View Details ▼
uv pip
Provides pip-like commands for installing, uninstalling, and managing packages.
uv pip install {{package}}
Install a package:
uv pip install {{[-r|--requirements]}} {{requirements.txt}}
Install packages from a requirements file:
uv pip install {{package==1.2.3}}
Install a package with a specific version:
uv venv
View Details ▼
uv venv
Create an isolated Python environment for installing packages.
uv venv
Create a virtual environment in the default location (`.venv`):
uv venv {{path/to/venv}}
Create a virtual environment at a specific path:
uv venv {{[-p|--python]}} {{3.12}}
Create using a specific Python version:
