Run this model with HF Jobs
Run snare2000/tf_roberta_v1 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/snare2000/tf_roberta_v1. 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/snare2000/tf_roberta_v1 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 snare2000/tf_roberta_v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use snare2000/tf_roberta_v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="snare2000/tf_roberta_v1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("snare2000/tf_roberta_v1") model = AutoModelForMaskedLM.from_pretrained("snare2000/tf_roberta_v1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload TFBertForMaskedLM
Browse filesFiles changed (3)
- README.md+5-6
- config.json+10-11
- tf_model.h5+2-2
11 unmodified lines121314151617181920212219 unmodified lines424344454647484911 unmodified lines# tf_roberta_v1This model is a fine-tuned version of [distilroberta-base](https://huggingface.co/distilroberta-base) on an unknown dataset.It achieves the following results on the evaluation set:- Train Loss: 2.1033- Validation Loss: 1.8383- Epoch: 1## Model description19 unmodified lines| Train Loss | Validation Loss | Epoch ||:----------:|:---------------:|:-----:|| 2.7196 | 2.1459 | 0 || 2.1033 | 1.8383 | 1 |### Framework versions11 unmodified lines121314151617181920212219 unmodified lines4243444546474811 unmodified lines# tf_roberta_v1This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.It achieves the following results on the evaluation set:- Train Loss: 3.0890- Validation Loss: 3.0774- Epoch: 0## Model description19 unmodified lines| Train Loss | Validation Loss | Epoch ||:----------:|:---------------:|:-----:|| 3.0890 | 3.0774 | 0 |### Framework versions
1234567891011121314151617181920212223242526{"_name_or_path": "distilroberta-base","architectures": ["RobertaForMaskedLM"],"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,"initializer_range": 0.02,"intermediate_size": 3072,"layer_norm_eps": 1e-05,"max_position_embeddings": 514,"model_type": "roberta","num_attention_heads": 12,"num_hidden_layers": 6,"pad_token_id": 1,"position_embedding_type": "absolute","transformers_version": "4.27.2","type_vocab_size": 1,"use_cache": true,"vocab_size": 50265}12345678910111213141516171819202122232425{"_name_or_path": "bert-base-uncased","architectures": ["BertForMaskedLM"],"attention_probs_dropout_prob": 0.1,"classifier_dropout": null,"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-12,"max_position_embeddings": 512,"model_type": "bert","num_attention_heads": 12,"num_hidden_layers": 12,"pad_token_id": 0,"position_embedding_type": "absolute","transformers_version": "4.27.2","type_vocab_size": 2,"use_cache": true,"vocab_size": 30522}
123version https://git-lfs.github.com/spec/v1oid sha256:6f6f4d4419ed7503239bab1ce63aabc37aa4edcf3f08813b0dc14dc5997d0193size 484838716123version https://git-lfs.github.com/spec/v1oid sha256:473beab816282e4b023332ad8ded564cd81dfdacc89a40a9a7ef25610fed5574size 533687680
README.md+5-6
config.json+10-11
tf_model.h5+2-2