Summarization
Transformers
PyTorch
Safetensors
multilingual
miscovery
transformer
translation
question-answering
english
arabic
Run this model with HF Jobs
Run miscovery/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/miscovery/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/miscovery/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 miscovery/model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use miscovery/model with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" 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("summarization", model="miscovery/model")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("miscovery/model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1
by SFconvertbot - opened
Files changed (8)
- README.md+8-12
- config.json+9-9
- generation_config.json+1-1
- model.safetensorsDeleted-3
- pytorch_model.binDeleted-3
- special_tokens_map.json+1-15
- tokenizer.json
- tokenizer_config.json+3-128
1 unmodified line23456789101112131415161724 unmodified lines4243444546474811 unmodified lines606162631 unmodified linelanguage: multilinguallicense: mittags:- transformer- summarization- translation- question-answering- english- arabicdatasets:- miscovery/arabic_egypt_english_world_factspipeline_tag: summarizationlibrary_name: transformers---# Miscovery Transformer Model24 unmodified lines1. Install the package:```bashpip install miscovery-model```2. Run the model using a script:11 unmodified lines## LimitationsThis model was trained on specific datasets and may not generalize well to all domains.1 unmodified line234567891011121324 unmodified lines3839404142434411 unmodified lines565758591 unmodified linelanguage: multilinguallicense: mittags:- transformer- summarization- translation- question-answering- english- arabic---# Miscovery Transformer Model24 unmodified lines1. Install the package:```bashpip install miscovery_model```2. Run the model using a script:11 unmodified lines## LimitationsThis model was trained on specific datasets and may not generalize well to all domains.
2 unmodified lines345678910111213141516171819202 unmodified lines"CustomTransformerModel"],"bos_token_id": 2,"d_ff": 2048,"d_model": 512,"dropout": 0.05,"eos_token_id": 3,"max_position_embeddings": 300,"model_type": "miscovery","num_decoder_layers": 8,"num_encoder_layers": 8,"num_heads": 8,"pad_token_id": 0,"torch_dtype": "float32","transformers_version": "4.35.2","use_flash_attn": true,"vocab_size": 50000}2 unmodified lines345678910111213141516171819202 unmodified lines"CustomTransformerModel"],"bos_token_id": 2,"d_ff": 3072,"d_model": 768,"dropout": 0.1,"eos_token_id": 3,"max_position_embeddings": 512,"model_type": "miscovery","num_decoder_layers": 12,"num_encoder_layers": 12,"num_heads": 12,"pad_token_id": 0,"torch_dtype": "float32","transformers_version": "4.51.3","use_flash_attn": true,"vocab_size": 100000}
2 unmodified lines345672 unmodified lines"bos_token_id": 2,"eos_token_id": 3,"pad_token_id": 0,"transformers_version": "4.35.2"}2 unmodified lines345672 unmodified lines"bos_token_id": 2,"eos_token_id": 3,"pad_token_id": 0,"transformers_version": "4.51.3"}
123version https://git-lfs.github.com/spec/v1oid sha256:8c4cd709b1c3d1d5e8b2a7db275c12a312498b5872393a342e3a46ac8363ba8csize 610135936123version https://git-lfs.github.com/spec/v1oid sha256:f63f166d49528902b95d1ccecc1f997466f715b043d419795f401dc211b3961fsize 6102321301 unmodified line23456789101112131415161718192021221 unmodified line"additional_special_tokens": ["[LANG_EN]","[LANG_AR]","[LANG_AR_EG]","[TRANSLATION]","[SUMMARIZATION]","[PARAPHRASING]","[INSTRUCTIONS]","[CALCULATE]","[REORDER]","[QUESTION]","[ANSWER]","[CHOICES]","[START_OPTION]","[END_OPTION]","[REASONING]","[START_THINKING]","[END_THINKING]"],"cls_token": {"content": "[CLS]",1 unmodified line23456781 unmodified line"additional_special_tokens": ["[LANG_EN]","[LANG_AR]","[LANG_AR_EG]"],"cls_token": {"content": "[CLS]",
62 unmodified lines6364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620762 unmodified lines"rstrip": false,"single_word": false,"special": true},"8": {"content": "[TRANSLATION]","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"9": {"content": "[SUMMARIZATION]","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"10": {"content": "[PARAPHRASING]","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"11": {"content": "[INSTRUCTIONS]","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"12": {"content": "[CALCULATE]","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"13": {"content": "[REORDER]","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"14": {"content": "[QUESTION]","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"15": {"content": "[ANSWER]","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"16": {"content": "[CHOICES]","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"17": {"content": "[START_OPTION]","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"18": {"content": "[END_OPTION]","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"19": {"content": "[REASONING]","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"20": {"content": "[START_THINKING]","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"21": {"content": "[END_THINKING]","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true}},"additional_special_tokens": ["[LANG_EN]","[LANG_AR]","[LANG_AR_EG]","[TRANSLATION]","[SUMMARIZATION]","[PARAPHRASING]","[INSTRUCTIONS]","[CALCULATE]","[REORDER]","[QUESTION]","[ANSWER]","[CHOICES]","[START_OPTION]","[END_OPTION]","[REASONING]","[START_THINKING]","[END_THINKING]"],"clean_up_tokenization_spaces": true,"cls_token": "[CLS]","mask_token": "[MASK]","model_max_length": 1000000000000000019884624838656,"pad_token": "[PAD]","sep_token": "[SEP]","tokenizer_class": "PreTrainedTokenizerFast","unk_token": "[UNK]"}62 unmodified lines636465666768697071727374757677787980818262 unmodified lines"rstrip": false,"single_word": false,"special": true}},"additional_special_tokens": ["[LANG_EN]","[LANG_AR]","[LANG_AR_EG]"],"clean_up_tokenization_spaces": true,"cls_token": "[CLS]","extra_special_tokens": {},"mask_token": "[MASK]","model_max_length": 1000000000000000019884624838656,"pad_token": "[PAD]","sep_token": "[SEP]","tokenizer_class": "PreTrainedTokenizer","unk_token": "[UNK]"}
README.md+8-12
config.json+9-9
generation_config.json+1-1
model.safetensorsDeleted-3
pytorch_model.binDeleted-3
special_tokens_map.json+1-15
tokenizer.json
tokenizer_config.json+3-128