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")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Mxode/NanoExperiment-Models", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| {'train_runtime': 2684.585, 'train_samples_per_second': 3615.681, 'train_steps_per_second': 3.531, 'train_loss': 2.108148268607095, 'epoch': 1.0} |