Run this model with HF Jobs
Run nikchar/big_model 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/nikchar/big_model. 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/nikchar/big_model 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 nikchar/big_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nikchar/big_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="nikchar/big_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("nikchar/big_model") model = AutoModelForSequenceClassification.from_pretrained("nikchar/big_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
my-awesome-model
Browse filesFiles changed (7)
- README.md+13-25
- config.json+20-17
- model.safetensorsAdded+3
- special_tokens_map.json+5-49
- tokenizer_config.json+53-58
- training_args.bin+2-2
- vocab.txtAdded
123456789104 unmodified lines1516171819202122232412 unmodified lines37383940414243444546474849505152535455565758596061---license: mitbase_model: roberta-basetags:- generated_from_trainermetrics:- accuracymodel-index:- name: big_modelresults: []4 unmodified lines# big_modelThis model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.2524- Accuracy: 0.9432## Model description12 unmodified lines### Training hyperparametersThe following hyperparameters were used during training:- learning_rate: 2e-05- train_batch_size: 8- eval_batch_size: 8- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 2### Training results| Training Loss | Epoch | Step | Validation Loss | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:--------:|| 0.2525 | 1.0 | 3976 | 0.2490 | 0.9381 || 0.1921 | 2.0 | 7952 | 0.2524 | 0.9432 |### Framework versions- Transformers 4.33.2- Pytorch 2.0.1+cu118- Datasets 2.14.5- Tokenizers 0.13.31234567894 unmodified lines1415161718192012 unmodified lines3334353637383940414243444546474849---library_name: transformerslicense: apache-2.0base_model: bert-base-uncasedtags:- generated_from_trainermodel-index:- name: big_modelresults: []4 unmodified lines# big_modelThis model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the None dataset.## Model description12 unmodified lines### Training hyperparametersThe following hyperparameters were used during training:- learning_rate: 5e-05- train_batch_size: 32- eval_batch_size: 32- seed: 42- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: linear- num_epochs: 3### Framework versions- Transformers 4.47.1- Pytorch 2.5.1+cu121- Datasets 3.2.0- Tokenizers 0.21.0
1234567891011121314151617181920212223242526272829303132333435363738{"_name_or_path": "roberta-base","architectures": ["RobertaForSequenceClassification"],"attention_probs_dropout_prob": 0.1,"bos_token_id": 0,"classifier_dropout": null,"eos_token_id": 2,"hidden_act": "gelu","hidden_dropout_prob": 0.1,"hidden_size": 768,"id2label": {"0": "NOT ENOUGH INFO","1": "REFUTES","2": "SUPPORTS"},"initializer_range": 0.02,"intermediate_size": 3072,"label2id": {"NOT ENOUGH INFO": 0,"REFUTES": 1,"SUPPORTS": 2},"layer_norm_eps": 1e-05,"max_position_embeddings": 514,"model_type": "roberta","num_attention_heads": 12,"num_hidden_layers": 12,"pad_token_id": 1,"position_embedding_type": "absolute","problem_type": "single_label_classification","torch_dtype": "float32","transformers_version": "4.33.2","type_vocab_size": 1,"use_cache": true,"vocab_size": 50265}1234567891011121314151617181920212223242526272829303132333435363738394041{"_name_or_path": "bert-base-uncased","architectures": ["BertForSequenceClassification"],"attention_probs_dropout_prob": 0.1,"classifier_dropout": null,"gradient_checkpointing": false,"hidden_act": "gelu","hidden_dropout_prob": 0.1,"hidden_size": 768,"id2label": {"0": "LABEL_0","1": "LABEL_1","2": "LABEL_2","3": "LABEL_3","4": "LABEL_4"},"initializer_range": 0.02,"intermediate_size": 3072,"label2id": {"LABEL_0": 0,"LABEL_1": 1,"LABEL_2": 2,"LABEL_3": 3,"LABEL_4": 4},"layer_norm_eps": 1e-12,"max_position_embeddings": 512,"model_type": "bert","num_attention_heads": 12,"num_hidden_layers": 12,"pad_token_id": 0,"position_embedding_type": "absolute","problem_type": "single_label_classification","torch_dtype": "float32","transformers_version": "4.47.1","type_vocab_size": 2,"use_cache": true,"vocab_size": 30522}
123version https://git-lfs.github.com/spec/v1oid sha256:8dfb91a552e3abdbb7c343cf1ab7d535fb54579d65def29ffc94ab37cbc59952size 437967876123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{"bos_token": {"content": "<s>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false},"cls_token": {"content": "<s>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false},"eos_token": {"content": "</s>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false},"mask_token": {"content": "<mask>","lstrip": true,"normalized": true,"rstrip": false,"single_word": false},"pad_token": {"content": "<pad>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false},"sep_token": {"content": "</s>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false},"unk_token": {"content": "<unk>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false}}1234567{"cls_token": "[CLS]","mask_token": "[MASK]","pad_token": "[PAD]","sep_token": "[SEP]","unk_token": "[UNK]"}
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263{"add_prefix_space": false,"bos_token": {"__type": "AddedToken","content": "<s>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false},"clean_up_tokenization_spaces": true,"cls_token": {"__type": "AddedToken","content": "<s>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false},"eos_token": {"__type": "AddedToken","content": "</s>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false},"errors": "replace","mask_token": {"__type": "AddedToken","content": "<mask>","lstrip": true,"normalized": true,"rstrip": false,"single_word": false},"model_max_length": 512,"pad_token": {"__type": "AddedToken","content": "<pad>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false},"sep_token": {"__type": "AddedToken","content": "</s>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false},"tokenizer_class": "RobertaTokenizer","unk_token": {"__type": "AddedToken","content": "<unk>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false}}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{"added_tokens_decoder": {"0": {"content": "[PAD]","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"100": {"content": "[UNK]","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"101": {"content": "[CLS]","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"102": {"content": "[SEP]","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"103": {"content": "[MASK]","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true}},"clean_up_tokenization_spaces": true,"cls_token": "[CLS]","do_basic_tokenize": true,"do_lower_case": true,"extra_special_tokens": {},"mask_token": "[MASK]","model_max_length": 512,"never_split": null,"pad_token": "[PAD]","sep_token": "[SEP]","strip_accents": null,"tokenize_chinese_chars": true,"tokenizer_class": "BertTokenizer","unk_token": "[UNK]"}
123version https://git-lfs.github.com/spec/v1oid sha256:c1641a9580d51dd37763cba40f2f8010d04230133b8306ae4a018b58d01a729fsize 4027123version https://git-lfs.github.com/spec/v1oid sha256:785b405c79436261f173aa212c49c128b4078b80b4a2c0761d01be6afbc17c1csize 5304
README.md+13-25
config.json+20-17
model.safetensorsAdded+3
special_tokens_map.json+5-49
tokenizer_config.json+53-58
training_args.bin+2-2
vocab.txtAdded