Text Classification
Transformers
TensorFlow
bert
generated_from_keras_callback
text-embeddings-inference
Run this model with HF Jobs
Run amirapppppp79/my_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/amirapppppp79/my_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/amirapppppp79/my_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 amirapppppp79/my_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use amirapppppp79/my_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="amirapppppp79/my_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("amirapppppp79/my_model") model = AutoModelForSequenceClassification.from_pretrained("amirapppppp79/my_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
f638f77
1
Parent(s): bc2182c
Training in progress epoch 0
Browse filesFiles changed (7)
- README.mdAdded+54
- config.jsonAdded+43
- special_tokens_map.jsonAdded+7
- tf_model.h5Added+3
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+13
- vocab.txtAdded
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354---license: apache-2.0tags:- generated_from_keras_callbackmodel-index:- name: amirapppppp79/my_model results: []---
<!-- This model card has been generated automatically according to the information Keras had access to. You shouldprobably proofread and complete it, then remove this comment. -->
# amirapppppp79/my_model
This model is a fine-tuned version of [HooshvareLab/bert-fa-zwnj-base](https://huggingface.co/HooshvareLab/bert-fa-zwnj-base) on an unknown dataset.It achieves the following results on the evaluation set:- Train Loss: nan- Validation Loss: nan- Train Accuracy: 0.0- Epoch: 0
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:- optimizer: {'name': 'Adam', 'weight_decay': None, 'clipnorm': None, 'global_clipnorm': None, 'clipvalue': None, 'use_ema': False, 'ema_momentum': 0.99, 'ema_overwrite_frequency': None, 'jit_compile': True, 'is_legacy_optimizer': False, 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 18675, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}}, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False}- training_precision: float32
### Training results
| Train Loss | Validation Loss | Train Accuracy | Epoch ||:----------:|:---------------:|:--------------:|:-----:|| nan | nan | 0.0 | 0 |
### Framework versions
- Transformers 4.30.2- TensorFlow 2.12.0- Datasets 2.13.1- Tokenizers 0.13.312345678910111213141516171819202122232425262728293031323334353637383940414243{ "_name_or_path": "HooshvareLab/bert-fa-zwnj-base", "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": { "1": "Beinolmelal", "2": "Eghtesadi", "3": "Ejtemaee", "4": "ElmiVaDaneshghai", "5": "FarhangHonarVaResane", "6": "Siasi", "7": "Varzeshi" }, "initializer_range": 0.02, "intermediate_size": 3072, "label2id": { "Beinolmela": 1, "Eghtesadi": 2, "Ejtemaee": 3, "ElmiVaDaneshghai": 4, "FarhangHonarVaResane": 5, "Siasi": 6, "Varzeshi": 7 }, "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.30.2", "type_vocab_size": 2, "use_cache": true, "vocab_size": 42000}1234567{ "cls_token": "[CLS]", "mask_token": "[MASK]", "pad_token": "[PAD]", "sep_token": "[SEP]", "unk_token": "[UNK]"}123version https://git-lfs.github.com/spec/v1oid sha256:d210357e1a35a4b9e2da1cac7729dc5d1b1123c93ad9b68c02773a6bf17d6bd3size 47349892412345678910111213{ "clean_up_tokenization_spaces": true, "cls_token": "[CLS]", "do_lower_case": false, "mask_token": "[MASK]", "model_max_length": 512, "pad_token": "[PAD]", "sep_token": "[SEP]", "strip_accents": false, "tokenize_chinese_chars": true, "tokenizer_class": "BertTokenizer", "unk_token": "[UNK]"}README.mdAdded+54
config.jsonAdded+43
special_tokens_map.jsonAdded+7
tf_model.h5Added+3
tokenizer.jsonAdded
tokenizer_config.jsonAdded+13
vocab.txtAdded