Text Generation
PEFT
Safetensors
Galician
galician
grammatical-error-correction
gec
grammar-correction
orthographic-correction
text-correction
lora
carvalho
carvalhochat
llama
low-resource-nlp
proxecto-nos
conversational
Instructions to use proxectonos/CarvalhoChat_GEC with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use proxectonos/CarvalhoChat_GEC with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("carvalho-nos/CarvalhoChat_v4") model = PeftModel.from_pretrained(base_model, "proxectonos/CarvalhoChat_GEC") - Notebooks
- Google Colab
- Kaggle
File size: 488 Bytes
8bebb60 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | {
"backend": "tokenizers",
"bos_token": "<|begin_of_text|>",
"clean_up_tokenization_spaces": true,
"eos_token": "<|eot_id|>",
"extra_special_tokens": [
"<|task:gec|>",
"<|lang:gl|>"
],
"from_slow": true,
"is_local": false,
"legacy": false,
"model_input_names": [
"input_ids",
"attention_mask"
],
"model_max_length": 131072,
"pad_token": "<|end_of_text|>",
"padding_side": "right",
"tokenizer_class": "TokenizersBackend",
"use_fast": true
}
|