Run this model with HF Jobs
Run Gantenbein/ADDI-IT-XLM-R on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Gantenbein/ADDI-IT-XLM-R. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Gantenbein/ADDI-IT-XLM-R on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Gantenbein/ADDI-IT-XLM-R with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Gantenbein/ADDI-IT-XLM-R with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" 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("question-answering", model="Gantenbein/ADDI-IT-XLM-R")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("Gantenbein/ADDI-IT-XLM-R") model = AutoModelForQuestionAnswering.from_pretrained("Gantenbein/ADDI-IT-XLM-R", device_map="auto") - Notebooks
- Google Colab
- Kaggle
gantenbe commited on
Commit 路
8d4f6d0
1
Parent(s): 13d7f74
italian finetuning
Browse filesFiles changed (9)
- all_results.jsonAdded+14
- config.jsonAdded+27
- pytorch_model.binAdded+3
- sentencepiece.bpe.modelAdded+3
- special_tokens_map.jsonAdded+1
- tokenizer_config.jsonAdded+1
- train_results.jsonAdded+14
- trainer_state.jsonAdded+23
- training_args.binAdded+3
1234567891011121314{ "epoch": 1.0, "init_mem_cpu_alloc_delta": 346966, "init_mem_cpu_peaked_delta": 18306, "init_mem_gpu_alloc_delta": 1109893120, "init_mem_gpu_peaked_delta": 0, "train_mem_cpu_alloc_delta": 458891, "train_mem_cpu_peaked_delta": 216825, "train_mem_gpu_alloc_delta": 3344808960, "train_mem_gpu_peaked_delta": 3576805376, "train_runtime": 45.8048, "train_samples": 898, "train_samples_per_second": 2.467}123456789101112131415161718192021222324252627{ "_name_or_path": "/home/cloud-user/gpt2_colab/models/xlm_e1_CHpart_adapt_", "architectures": [ "XLMRobertaForQuestionAnswering" ], "attention_probs_dropout_prob": 0.1, "bos_token_id": 0, "eos_token_id": 2, "gradient_checkpointing": false, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "initializer_range": 0.02, "intermediate_size": 3072, "layer_norm_eps": 1e-05, "max_position_embeddings": 514, "model_type": "xlm-roberta", "num_attention_heads": 12, "num_hidden_layers": 12, "output_past": true, "pad_token_id": 1, "position_embedding_type": "absolute", "transformers_version": "4.4.0.dev0", "type_vocab_size": 1, "use_cache": true, "vocab_size": 250002}123version https://git-lfs.github.com/spec/v1oid sha256:69906d439f2afa58ad399508656167e68f1bd7aaaeeb4b00e6ced975c5395dabsize 1109906126123version https://git-lfs.github.com/spec/v1oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865size 50690511{"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "<s>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": false}}1{"bos_token": "<s>", "eos_token": "</s>", "sep_token": "</s>", "cls_token": "<s>", "unk_token": "<unk>", "pad_token": "<pad>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "/home/cloud-user/gpt2_colab/models/xlm_e1_CHpart_adapt_"}1234567891011121314{ "epoch": 1.0, "init_mem_cpu_alloc_delta": 346966, "init_mem_cpu_peaked_delta": 18306, "init_mem_gpu_alloc_delta": 1109893120, "init_mem_gpu_peaked_delta": 0, "train_mem_cpu_alloc_delta": 458891, "train_mem_cpu_peaked_delta": 216825, "train_mem_gpu_alloc_delta": 3344808960, "train_mem_gpu_peaked_delta": 3576805376, "train_runtime": 45.8048, "train_samples": 898, "train_samples_per_second": 2.467}1234567891011121314151617181920212223{ "best_metric": null, "best_model_checkpoint": null, "epoch": 1.0, "global_step": 113, "is_hyper_param_search": false, "is_local_process_zero": true, "is_world_process_zero": true, "log_history": [ { "epoch": 1.0, "step": 113, "total_flos": 574051335349248.0, "train_runtime": 45.8048, "train_samples_per_second": 2.467 } ], "max_steps": 113, "num_train_epochs": 1, "total_flos": 574051335349248.0, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:6e7a0ae8e029201305c62418f615d78922c0ed7745f32794d5e2fb49c9237163size 2351all_results.jsonAdded+14
config.jsonAdded+27
pytorch_model.binAdded+3
sentencepiece.bpe.modelAdded+3
special_tokens_map.jsonAdded+1
tokenizer_config.jsonAdded+1
train_results.jsonAdded+14
trainer_state.jsonAdded+23
training_args.binAdded+3