File size: 10,547 Bytes
00bcb89 afed5cc fb9738f afed5cc fb9738f afed5cc 00bcb89 fb9738f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 |
---
base_model: meta-llama/Meta-Llama-3-8B-Instruct
datasets:
- Danielbrdz/Barcenas-Economia
- HiTZ/casimedicos-exp
- somosnlp/coser_resumenes
- csebuetnlp/CrossSum
- Iker/Document-Translation-en-es
- somosnlp/es-inclusive-language-it
- glaiveai/glaive-code-assistant-v3
- glaiveai/glaive-function-calling-v2
- Iker/InstructTranslation-EN-ES
- somosnlp/lenguaje-claro-dataset
- somosnlp/LingComp_QA
- Iker/NoticIA
- teknium/OpenHermes-2.5
- Iker/OpenHermes-2.5-Spanish
- Helsinki-NLP/opus-100
- projecte-aina/RAG_Multilingual
- HiTZ/This-is-not-a-dataset
- Iker/Reddit-Post-Translation
- wikipedia
language:
- es
- en
library_name: transformers
license: llama3
pipeline_tag: text-generation
tags:
- synthetic
---
![image/jpeg](https://cdn-uploads.huggingface.co/production/uploads/614a1ebb8f82f1df64d55126/2i_CasoeJTgQPNoBIfA8E.jpeg)
# Neurona 8B Beta: Un Modelo de Lenguage en Español
> Esta es una versión preliminar del dataset card. El modelo está en desarrollo y no es la versión final. Si quieres saber más sobre este modelo, escribe a iker.garciaf@ehu.eus
Neurona 8B es un modelo de lenguaje en Español. Esta es la segunda iteración y un experimento para poner a punto los scripts y la infraestructura.
Neurona 8B ha sido entrenado con los siguiente datasets. No en todos los casos se ha usado el dataset completo
- [Danielbrdz/Barcenas-Economia](https://huggingface.co/datasets/Danielbrdz/Barcenas-Economia)
- [HiTZ/casimedicos-exp](https://huggingface.co/datasets/HiTZ/casimedicos-exp)
- [somosnlp/coser_resumenes](https://huggingface.co/datasets/somosnlp/coser_resumenes)
- [csebuetnlp/CrossSum en + es](https://huggingface.co/datasets/csebuetnlp/CrossSum)
- [Iker/Document-Translation-en-es](https://huggingface.co/datasets/Iker/Document-Translation-en-es)
- [somosnlp/es-inclusive-language-it](https://huggingface.co/datasets/somosnlp/es-inclusive-language-it)
- [glaiveai/glaive-code-assistant-v3](https://huggingface.co/datasets/glaiveai/glaive-code-assistant-v3)
- [glaiveai/glaive-function-calling-v2](https://huggingface.co/datasets/glaiveai/glaive-function-calling-v2)
- [Iker/InstructTranslation-EN-ES](https://huggingface.co/datasets/Iker/InstructTranslation-EN-ES)
- [somosnlp/lenguaje-claro-dataset](https://huggingface.co/datasets/somosnlp/lenguaje-claro-dataset)
- [somosnlp/LingComp_QA](https://huggingface.co/datasets/somosnlp/LingComp_QA)
- [Iker/NoticIA](https://huggingface.co/datasets/Iker/NoticIA)
- [teknium/OpenHermes-2.5](https://huggingface.co/datasets/teknium/OpenHermes-2.5)
- [Iker/OpenHermes-2.5-Spanish](https://huggingface.co/datasets/Iker/OpenHermes-2.5-Spanish)
- [Helsinki-NLP/opus-100 en es](https://huggingface.co/datasets/Helsinki-NLP/opus-100)
- [projecte-aina/RAG_Multilingual](https://huggingface.co/datasets/projecte-aina/RAG_Multilingual)
- [HiTZ/This-is-not-a-dataset](https://huggingface.co/datasets/HiTZ/This-is-not-a-dataset)
- [wikipedia es](https://huggingface.co/datasets/wikipedia)
- [Iker/Reddit-Post-Translation](https://huggingface.co/datasets/Iker/Reddit-Post-Translation)
Esta mezcla de datasets en Inglés y Español, permite al modelo adquirir diferentes capacidades, como RAG, function calling, code assistant, question answering, summarization... tanto en Inglés como en Español.
# Entrenamiento
Este modelo se ha entrado usando 4xNvidia A100 80Gb y axolotl
[<img src="https://raw.githubusercontent.com/OpenAccess-AI-Collective/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/OpenAccess-AI-Collective/axolotl)
Esta es la configuración usada
```yaml
base_model: meta-llama/Meta-Llama-3-8B-Instruct
model_type: AutoModelForCausalLM
tokenizer_type: AutoTokenizer
is_falcon_derived_model:
is_llama_derived_model:
is_qwen_derived_model:
is_mistral_derived_model:
load_in_8bit: false
load_in_4bit: false
strict: false
device_map: null
datasets:
- path: /ikerlariak/igarcia945/InstructDatasets/Barcenas-Economia.jsonl
type: sharegpt
conversation: llama3
field: conversations
roles:
input:
- system
- gpt
output:
- human
- path: /ikerlariak/igarcia945/InstructDatasets/casimedicos.jsonl
type: sharegpt
conversation: llama3
field: conversations
roles:
input:
- system
- gpt
output:
- human
- path: /ikerlariak/igarcia945/InstructDatasets/coser_resumene.jsonl
type: sharegpt
conversation: llama3
field: conversations
roles:
input:
- system
- gpt
output:
- human
- path: /ikerlariak/igarcia945/InstructDatasets/CrossSum_en.jsonl
type: sharegpt
conversation: llama3
field: conversations
roles:
input:
- system
- gpt
output:
- human
- path: /ikerlariak/igarcia945/InstructDatasets/CrossSum_es.jsonl
type: sharegpt
conversation: llama3
field: conversations
roles:
input:
- system
- gpt
output:
- human
- path: /ikerlariak/igarcia945/InstructDatasets/Document-Translation-en-es.jsonl
type: sharegpt
conversation: llama3
field: conversations
roles:
input:
- system
- gpt
output:
- human
- path: /ikerlariak/igarcia945/InstructDatasets/es-inclusive-language.jsonl
type: sharegpt
conversation: llama3
field: conversations
roles:
input:
- system
- gpt
output:
- human
- path: /ikerlariak/igarcia945/InstructDatasets/glaive-code-assistant-v3-small.jsonl
type: sharegpt
conversation: llama3
field: conversations
roles:
input:
- system
- gpt
output:
- human
- path: /ikerlariak/igarcia945/InstructDatasets/glaive-function-calling-v2.jsonl
type: sharegpt
conversation: llama3
field: conversations
roles:
input:
- system
- gpt
- tool
output:
- human
- path: /ikerlariak/igarcia945/InstructDatasets/InstructTranslation-EN-ES.jsonl
type: sharegpt
conversation: llama3
field: conversations
roles:
input:
- system
- gpt
output:
- human
- path: /ikerlariak/igarcia945/InstructDatasets/lenguaje-claro-dataset.jsonl
type: sharegpt
conversation: llama3
field: conversations
roles:
input:
- system
- gpt
output:
- human
- path: /ikerlariak/igarcia945/InstructDatasets/LingComp_QA.jsonl
type: sharegpt
conversation: llama3
field: conversations
roles:
input:
- system
- gpt
output:
- human
- path: /ikerlariak/igarcia945/InstructDatasets/NoticIA.jsonl
type: sharegpt
conversation: llama3
field: conversations
roles:
input:
- system
- gpt
output:
- human
- path: /ikerlariak/igarcia945/InstructDatasets/NoticIA-large.jsonl
type: sharegpt
conversation: llama3
field: conversations
roles:
input:
- system
- gpt
output:
- human
- path: /ikerlariak/igarcia945/InstructDatasets/NoticIA-summary.jsonl
type: sharegpt
conversation: llama3
field: conversations
roles:
input:
- system
- gpt
output:
- human
- path: /ikerlariak/igarcia945/InstructDatasets/OpenHermes-2.5-English.jsonl
type: sharegpt
conversation: llama3
field: conversations
roles:
input:
- system
- gpt
output:
- human
- path: /ikerlariak/igarcia945/InstructDatasets/OpenHermes-2.5-Spanish.jsonl
type: sharegpt
conversation: llama3
field: conversations
roles:
input:
- system
- gpt
output:
- human
- path: /ikerlariak/igarcia945/InstructDatasets/opus-100-en-es.jsonl
type: sharegpt
conversation: llama3
field: conversations
roles:
input:
- system
- gpt
output:
- human
- path: /ikerlariak/igarcia945/InstructDatasets/RAG_Multilingual-es.jsonl
type: sharegpt
conversation: llama3
field: conversations
roles:
input:
- system
- gpt
output:
- human
- path: /ikerlariak/igarcia945/InstructDatasets/This-is-not-a-dataset.jsonl
type: sharegpt
conversation: llama3
field: conversations
roles:
input:
- system
- gpt
output:
- human
- path: /ikerlariak/igarcia945/InstructDatasets/wikipedia-es.jsonl
type: sharegpt
conversation: llama3
field: conversations
roles:
input:
- system
- gpt
output:
- human
- path: /ikerlariak/igarcia945/InstructDatasets/Reddit-Post-Translation.jsonl
type: sharegpt
conversation: llama3
field: conversations
roles:
input:
- system
- gpt
output:
- human
- path: /ikerlariak/igarcia945/InstructDatasets/watermark.jsonl
type: sharegpt
conversation: llama3
field: conversations
roles:
input:
- system
- gpt
output:
- human
chat_template: llama3
dataset_prepared_path: /ikerlariak/igarcia945/Mortadelo-Filemon/Meta-Llama-3-8B-Instruct-Spanish-v2/dataset
shuffle_merged_datasets: true
val_set_size: 0.005
output_dir: /ikerlariak/igarcia945/Mortadelo-Filemon/Meta-Llama-3-8B-Instruct-Spanish-v2
adapter:
lora_model_dir:
sequence_len: 8192
sample_packing: true
eval_sample_packing: false
pad_to_sequence_len: false
tokens:
- "<tool_call>"
- "<tool_response>"
- "<tools>"
- "</tool_call>"
- "</tool_response>"
- "</tools>"
- "<reserved1>"
- "<reserved2>"
special_tokens:
pad_token: <|end_of_text|>
neftune_noise_alpha: 5
wandb_project: Mortadelo&Filemon
wandb_entity: igarciaf
wandb_watch:
wandb_name: Meta-Llama-3-8B-Instruct-Spanish-v2
wandb_log_model:
gradient_accumulation_steps: 32
micro_batch_size: 2
eval_batch_size: 2
num_epochs: 2
optimizer: adamw_torch_fused
lr_scheduler: cosine
learning_rate: 0.00007
train_on_inputs: false
group_by_length: false
bf16: true
fp16: false
tf32: false
gradient_checkpointing: true
early_stopping_patience:
resume_from_checkpoint:
local_rank:
logging_steps: 1
xformers_attention:
flash_attention: true
warmup_ratio: 0.03
evals_per_epoch: 4
eval_table_size:
save_strategy: "no"
debug:
deepspeed: /ikerlariak/igarcia945/Mortadelo-Filemon/train_configs/deepspeed_zero3.json
weight_decay: 0.0
fsdp:
fsdp_config:
seed: 33
``` |