Instructions to use Finisha-F-scratch/Gemerde with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Finisha-F-scratch/Gemerde with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Finisha-F-scratch/Gemerde") model = AutoModelForSeq2SeqLM.from_pretrained("Finisha-F-scratch/Gemerde", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_params.json from Finisha-F-scratch/Gemerde: direct link, hf CLI and curl.
- Browser
- Download file 970 Bytes
-
https://huggingface.co/Finisha-F-scratch/Gemerde/resolve/dd8e045fbac05f6b47dc085f7757362b1f82ca5a/training_params.json
- Command line
-
hf download hf://Finisha-F-scratch/Gemerde@dd8e045fbac05f6b47dc085f7757362b1f82ca5a/training_params.json
-
curl -L -o training_params.json https://huggingface.co/Finisha-F-scratch/Gemerde/resolve/dd8e045fbac05f6b47dc085f7757362b1f82ca5a/training_params.json
970 Bytes
| { | |
| "data_path": "Finisha-LLM/gemerde-data", | |
| "model": "NaA-IA/Tesity-T5", | |
| "username": "Clemylia", | |
| "seed": 42, | |
| "train_split": "train", | |
| "valid_split": null, | |
| "project_name": "Gemerde", | |
| "push_to_hub": true, | |
| "text_column": "question", | |
| "target_column": "reponse", | |
| "lr": 5e-05, | |
| "epochs": 5, | |
| "max_seq_length": 128, | |
| "max_target_length": 128, | |
| "batch_size": 2, | |
| "warmup_ratio": 0.1, | |
| "gradient_accumulation": 1, | |
| "optimizer": "adamw_torch", | |
| "scheduler": "linear", | |
| "weight_decay": 0.0, | |
| "max_grad_norm": 1.0, | |
| "logging_steps": -1, | |
| "eval_strategy": "epoch", | |
| "auto_find_batch_size": false, | |
| "mixed_precision": "fp16", | |
| "save_total_limit": 1, | |
| "peft": false, | |
| "quantization": "int8", | |
| "lora_r": 16, | |
| "lora_alpha": 32, | |
| "lora_dropout": 0.05, | |
| "target_modules": "all-linear", | |
| "log": "tensorboard", | |
| "early_stopping_patience": 5, | |
| "early_stopping_threshold": 0.01 | |
| } |