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
File size: 147 Bytes
5f71f07 | 1 | {'train_runtime': 2523.8656, 'train_samples_per_second': 3845.927, 'train_steps_per_second': 3.756, 'train_loss': 1.5791889831486634, 'epoch': 1.0} |