Instructions to use kingjux/ffmpeg-command-generator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kingjux/ffmpeg-command-generator with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("kingjux/ffmpeg-command-generator", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Upload train_ffmpeg.py with huggingface_hub
Browse files- train_ffmpeg.py +1 -1
train_ffmpeg.py
CHANGED
|
@@ -51,7 +51,7 @@ training_args = SFTConfig(
|
|
| 51 |
|
| 52 |
# Other
|
| 53 |
seed=42,
|
| 54 |
-
|
| 55 |
)
|
| 56 |
|
| 57 |
# Create trainer
|
|
|
|
| 51 |
|
| 52 |
# Other
|
| 53 |
seed=42,
|
| 54 |
+
max_length=1024,
|
| 55 |
)
|
| 56 |
|
| 57 |
# Create trainer
|