Instructions to use Mxode/NanoExperiment-Models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Mxode/NanoExperiment-Models with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("translation", model="Mxode/NanoExperiment-Models")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Mxode/NanoExperiment-Models", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download saves-llama-bf16/generation_config.json from Mxode/NanoExperiment-Models: direct link, hf CLI and curl.
- Browser
- Download file 111 Bytes
-
https://huggingface.co/Mxode/NanoExperiment-Models/resolve/main/saves-llama-bf16/generation_config.json
- Command line
-
hf download hf://Mxode/NanoExperiment-Models/saves-llama-bf16/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/Mxode/NanoExperiment-Models/resolve/main/saves-llama-bf16/generation_config.json
111 Bytes
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 1, | |
| "eos_token_id": 2, | |
| "transformers_version": "4.42.0" | |
| } | |