license stringlengths 2 30 | tags stringlengths 2 513 | is_nc bool 1
class | readme_section stringlengths 201 597k | hash stringlengths 32 32 |
|---|---|---|---|---|
mit | ['sklearn', 'skops', 'tabular-classification'] | false | x27;]</pre></div></div></div><div class="sk-serial"><div class="sk-item"><div class="sk-estimator sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="sk-estimator-id-32" type="checkbox" ><label for="sk-estimator-id-32" class="sk-toggleable__label sk-toggleable__label-arrow">OneHotEncoder</label... | dfe31ad144d95ad52c35dca2c56a6452 |
mit | ['sklearn', 'skops', 'tabular-classification'] | false | x27;)</pre></div></div></div></div></div></div></div></div><div class="sk-item"><div class="sk-estimator sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="sk-estimator-id-33" type="checkbox" ><label for="sk-estimator-id-33" class="sk-toggleable__label sk-toggleable__label-arrow">LogisticRegre... | 772bff5aa002ff1e4de5103ccdb6f973 |
apache-2.0 | ['generated_from_trainer'] | false | bert-finetuned-targetexpression This model is a fine-tuned version of [bert-base-multilingual-cased](https://huggingface.co/bert-base-multilingual-cased) on an unknown dataset. It achieves the following results on the evaluation set: - Loss: 0.7245 - Precision: 0.5780 - Recall: 0.5871 - F1: 0.5825 - Accuracy: 0.7560 ... | 5dc6191d6cb80adfa4b065981c7ce146 |
apache-2.0 | ['generated_from_trainer'] | false | Training results | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy | |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:| | No log | 1.0 | 218 | 0.7744 | 0.4945 | 0.5491 | 0.5204 | 0.7232 | | No log | 2.0 |... | 645e2d1b7acb67ecf79ad2406e13c9fa |
afl-3.0 | [] | false | This model is used detecting **abusive speech** in **English**. It is finetuned on MuRIL model using English abusive speech dataset. The model is trained with learning rates of 2e-5. Training code can be found at this [url](https://github.com/hate-alert/IndicAbusive) LABEL_0 :-> Normal LABEL_1 :-> Abusive | aff78ec110f94a5caaae52d9315d8fd9 |
apache-2.0 | ['generated_from_trainer'] | false | albert-xxlarge-v2-finetuned-Poems This model is a fine-tuned version of [albert-xxlarge-v2](https://huggingface.co/albert-xxlarge-v2) on an unknown dataset. It achieves the following results on the evaluation set: - Loss: 2.1923 | 40122895629b74e3d0494ee3e4c2ca55 |
apache-2.0 | ['generated_from_trainer'] | false | Training hyperparameters The following hyperparameters were used during training: - learning_rate: 2e-07 - train_batch_size: 16 - eval_batch_size: 16 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 5 - mixed_precision_training: Native AMP | 84c29db3efdb9603bc332052e42ca3e7 |
apache-2.0 | ['generated_from_trainer'] | false | Training results | Training Loss | Epoch | Step | Validation Loss | |:-------------:|:-----:|:-----:|:---------------:| | 2.482 | 1.0 | 19375 | 2.2959 | | 2.258 | 2.0 | 38750 | 2.2357 | | 2.2146 | 3.0 | 58125 | 2.2085 | | 2.1975 | 4.0 | 77500 | 2.1929 ... | 2cd504043f775c02044a62b0c94050c9 |
apache-2.0 | ['generated_from_trainer'] | false | idpintents-key-value This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset. It achieves the following results on the evaluation set: - Loss: 0.8276 - F1: 0.8849 | e0bc2aaab90497e0755a0257fcb5632f |
apache-2.0 | ['generated_from_trainer'] | false | Training results | Training Loss | Epoch | Step | Validation Loss | F1 | |:-------------:|:-----:|:----:|:---------------:|:------:| | 1.8264 | 1.0 | 68 | 1.3672 | 0.7358 | | 1.3147 | 2.0 | 136 | 0.9310 | 0.8356 | | 1.0444 | 3.0 | 204 | 0.8276 | 0.8849 | ... | 5b8cdb7dad8c21a8b5772c46fd30b4f0 |
apache-2.0 | ['generated_from_trainer'] | false | bert-base-uncased-finetuned-classification This 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: - Loss: 38.9115 - Mse: 38.9115 - Mae: 4.5330 - R2: 0.7802 - Accuracy: 0.1620 - Msev: 0.0257 | 0ac0056e97ce75a04685fe4f209f3b1c |
apache-2.0 | ['generated_from_trainer'] | false | Training results | Training Loss | Epoch | Step | Validation Loss | Mse | Mae | R2 | Accuracy | Msev | |:-------------:|:-----:|:-----:|:---------------:|:-------:|:------:|:------:|:--------:|:------:| | 12.4524 | 1.0 | 5215 | 43.9797 | 43.9797 | 4.8194 | 0.7515 | 0.1693 | 0.0227 | |... | 626fc33fa228448adb5dc0c134a07bfe |
cc-by-4.0 | ['question generation'] | false | Model Card of `research-backup/t5-large-subjqa-vanilla-restaurants-qg` This model is fine-tuned version of [t5-large](https://huggingface.co/t5-large) for question generation task on the [lmqg/qg_subjqa](https://huggingface.co/datasets/lmqg/qg_subjqa) (dataset_name: restaurants) via [`lmqg`](https://github.com/asahi41... | c21735d78e02debd59d6b4200fdf0125 |
cc-by-4.0 | ['question generation'] | false | Overview - **Language model:** [t5-large](https://huggingface.co/t5-large) - **Language:** en - **Training data:** [lmqg/qg_subjqa](https://huggingface.co/datasets/lmqg/qg_subjqa) (restaurants) - **Online Demo:** [https://autoqg.net/](https://autoqg.net/) - **Repository:** [https://github.com/asahi417/lm-question... | 5537e842845f17c7e4ac7d3c324371f1 |
cc-by-4.0 | ['question generation'] | false | model prediction questions = model.generate_q(list_context="William Turner was an English painter who specialised in watercolour landscapes", list_answer="William Turner") ``` - With `transformers` ```python from transformers import pipeline pipe = pipeline("text2text-generation", "research-backup/t5-large-subjqa-v... | e6b31ac8bef3fa21f5527c6ea9ce4d85 |
cc-by-4.0 | ['question generation'] | false | Evaluation - ***Metric (Question Generation)***: [raw metric file](https://huggingface.co/research-backup/t5-large-subjqa-vanilla-restaurants-qg/raw/main/eval/metric.first.sentence.paragraph_answer.question.lmqg_qg_subjqa.restaurants.json) | | Score | Type | Dataset ... | 9ea6909089b0e6d837a3e82c7d7186bd |
cc-by-4.0 | ['question generation'] | false | Training hyperparameters The following hyperparameters were used during fine-tuning: - dataset_path: lmqg/qg_subjqa - dataset_name: restaurants - input_types: ['paragraph_answer'] - output_types: ['question'] - prefix_types: ['qg'] - model: t5-large - max_length: 512 - max_length_output: 32 - epoch: 1 - bat... | 1e92bb34b4fbe98bfb24f10ced400e39 |
mit | ['summarization', 'headline-generation', 'text-generation'] | false | t5-small for headline generation This model is a [t5-small](https://huggingface.co/t5-small) fine-tuned for headline generation using the [JulesBelveze/tldr_news](https://huggingface.co/datasets/JulesBelveze/tldr_news) dataset. | a54afb4a8b971d72aad207701d9f4a82 |
mit | ['summarization', 'headline-generation', 'text-generation'] | false | Using this model ```python import re from transformers import AutoTokenizer, T5ForConditionalGeneration WHITESPACE_HANDLER = lambda k: re.sub('\s+', ' ', re.sub('\n+', ' ', k.strip())) article_text = """US FCC commissioner Brendan Carr has asked Apple and Google to remove TikTok from their app stores. The video app ... | b6330f1d0d68942cbd2706f591d341e1 |
creativeml-openrail-m | [] | false | LoRA created from: https://civitai.com/models/4462/aaacups by https://civitai.com/user/modelsforall Currently testing, on photorealistic models. Weights between 0.5 and 2.0 seem to give good results depending on the proportions of the starting model/img and desired amount of reduction. Try a higher value on something ... | 48d3f44377cdaca222d1327f51fc2592 |
cc-by-sa-4.0 | ['japanese', 'wikipedia', 'question-answering', 'dependency-parsing'] | false | Model Description This is a BERT model pretrained on Japanese Wikipedia texts for dependency-parsing (head-detection on long-unit-words) as question-answering, derived from [bert-large-japanese-char-extended](https://huggingface.co/KoichiYasuoka/bert-large-japanese-char-extended) and [UD_Japanese-GSDLUW](https://gith... | 51f5aaf402bf51565230f2e73c028fbe |
cc-by-sa-4.0 | ['japanese', 'wikipedia', 'question-answering', 'dependency-parsing'] | false | How to Use ```py from transformers import AutoTokenizer,AutoModelForQuestionAnswering,QuestionAnsweringPipeline tokenizer=AutoTokenizer.from_pretrained("KoichiYasuoka/bert-large-japanese-wikipedia-ud-head") model=AutoModelForQuestionAnswering.from_pretrained("KoichiYasuoka/bert-large-japanese-wikipedia-ud-head") qap=... | ed7e74242f44b72ae0d317a89edb4f5f |
cc-by-sa-4.0 | ['japanese', 'wikipedia', 'question-answering', 'dependency-parsing'] | false | text = "+text.replace("\n"," ")+"\n" for i,(s,e,p) in enumerate(w,1): p="root" if h[i]==0 else "dep" if p=="root" else p u+="\t".join([str(i),r[i-1],"_",z[s][0][2:],"_","|".join(z[s][1:]), str(h[i]),p,"_","_" if i<n and e<w[i][0] else "SpaceAfter=No"])+"\n" return u+"\n" nlp=TransformersUD... | 0487bc2b0bdb01cc11be8167d223df14 |
other | ['vision', 'image-segmentation'] | false | Mask2Former Mask2Former model trained on Cityscapes instance segmentation (tiny-sized version, Swin backbone). It was introduced in the paper [Masked-attention Mask Transformer for Universal Image Segmentation ](https://arxiv.org/abs/2112.01527) and first released in [this repository](https://github.com/facebookresea... | 42b87466ce3fce510bc5b3c241cf5548 |
other | ['vision', 'image-segmentation'] | false | load Mask2Former fine-tuned on Cityscapes instance segmentation processor = AutoImageProcessor.from_pretrained("facebook/mask2former-swin-tiny-cityscapes-instance") model = Mask2FormerForUniversalSegmentation.from_pretrained("facebook/mask2former-swin-tiny-cityscapes-instance") url = "http://images.cocodataset.org/va... | bccd3c8db9703ec7ae50bd6943c3ee5a |
apache-2.0 | ['generated_from_keras_callback'] | false | cwan6830/bert-finetuned-ner This 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: 0.0247 - Validation Loss: 0.0564 - Epoch: 2 | 2830605758d7f41f6de6e79a9030d1b4 |
apache-2.0 | ['generated_from_keras_callback'] | false | Training results | Train Loss | Validation Loss | Epoch | |:----------:|:---------------:|:-----:| | 0.1226 | 0.0579 | 0 | | 0.0396 | 0.0514 | 1 | | 0.0247 | 0.0564 | 2 | | 2a3b8c8eb69ab32785a4a6263efc7282 |
apache-2.0 | ['generated_from_trainer'] | false | wav2vec2-xls-r-300m-mn-demo This model is a fine-tuned version of [facebook/wav2vec2-xls-r-300m](https://huggingface.co/facebook/wav2vec2-xls-r-300m) on the common_voice dataset. It achieves the following results on the evaluation set: - Loss: 0.9633 - Wer: 0.5586 | 7f5193ba4c56c0ce4fd47bb6b10a2c9b |
apache-2.0 | ['generated_from_trainer'] | false | Training results | Training Loss | Epoch | Step | Validation Loss | Wer | |:-------------:|:-----:|:----:|:---------------:|:------:| | 4.5564 | 6.77 | 400 | 2.8622 | 0.9998 | | 1.0005 | 13.55 | 800 | 0.9428 | 0.6614 | | 0.3018 | 20.34 | 1200 | 0.9611 | 0.5860 | |... | c05f550d37423e978dd7aa310c700079 |
apache-2.0 | ['automatic-speech-recognition', 'fr'] | false | exp_w2v2r_fr_xls-r_accent_france-5_belgium-5_s42 Fine-tuned [facebook/wav2vec2-xls-r-300m](https://huggingface.co/facebook/wav2vec2-xls-r-300m) for speech recognition using the train split of [Common Voice 7.0 (fr)](https://huggingface.co/datasets/mozilla-foundation/common_voice_7_0). When using this model, make sure... | c687178c6f51cf27cde64d31f2a1f48f |
apache-2.0 | ['audio', 'automatic-speech-recognition', 'speech', 'xlsr-fine-tuning-week'] | false | wav2vec2-live-japanese https://github.com/ttop32/wav2vec2-live-japanese-translator Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on Japanese hiragana using the - [common_voice](https://huggingface.co/datasets/common_voice) - [JSUT](https://sites.google.c... | 5fa46298f6b924f772592d39be0c48de |
apache-2.0 | ['audio', 'automatic-speech-recognition', 'speech', 'xlsr-fine-tuning-week'] | false | usage import torch import torchaudio from datasets import load_dataset from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor model = Wav2Vec2ForCTC.from_pretrained("ttop324/wav2vec2-live-japanese") processor = Wav2Vec2Processor.from_pretrained("ttop324/wav2vec2-live-japanese") test_dataset = load_dataset("common_v... | ab96d367805ebe82b728200740fe412c |
apache-2.0 | ['audio', 'automatic-speech-recognition', 'speech', 'xlsr-fine-tuning-week'] | false | We need to read the aduio files as arrays def speech_file_to_array_fn(batch): speech_array, sampling_rate = torchaudio.load(batch["path"]) batch["speech"] = torchaudio.functional.resample(speech_array, sampling_rate, 16000)[0].numpy() return batch test_dataset = test_dataset.map(speech_file_to_array_fn... | 5583efd049475459dfb8fba155c66d40 |
apache-2.0 | ['audio', 'automatic-speech-recognition', 'speech', 'xlsr-fine-tuning-week'] | false | Evaluation ```python import torch import torchaudio from datasets import load_dataset, load_metric from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor import re import pykakasi import MeCab wer = load_metric("wer") cer = load_metric("cer") model = Wav2Vec2ForCTC.from_pretrained("ttop324/wav2vec2-live-japanese"... | e99fc984378705d426f89dab9090c15e |
apache-2.0 | ['audio', 'automatic-speech-recognition', 'speech', 'xlsr-fine-tuning-week'] | false | katakana to hiragana conv = kakasi.getConverter() FULLWIDTH_TO_HALFWIDTH = str.maketrans( ' 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!゛#$%&()*+、ー。/:;〈=〉?@[]^_‘{|}~', ' 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!" | 7b62281b8d92c2f183c3d8f1d7856e88 |
apache-2.0 | ['audio', 'automatic-speech-recognition', 'speech', 'xlsr-fine-tuning-week'] | false | $%&()*+,-./:;<=>?@[]^_`{|}~', ) def fullwidth_to_halfwidth(s): return s.translate(FULLWIDTH_TO_HALFWIDTH) def preprocessData(batch): batch["sentence"] = fullwidth_to_halfwidth(batch["sentence"]) batch["sentence"] = re.sub(chars_to_ignore_regex,' ', batch["sentence"]).lower() | ef839b3a2329ad8d90d4ac9dd32b6e4b |
apache-2.0 | ['audio', 'automatic-speech-recognition', 'speech', 'xlsr-fine-tuning-week'] | false | remove multiple space speech_array, sampling_rate = torchaudio.load(batch["path"]) batch["speech"] = torchaudio.functional.resample(speech_array, sampling_rate, 16000)[0].numpy() return batch test_dataset = test_dataset.map(preprocessData) | d80db57ad473fcd2c858d6936529d21d |
apache-2.0 | ['audio', 'automatic-speech-recognition', 'speech', 'xlsr-fine-tuning-week'] | false | We need to read the aduio files as arrays def evaluate(batch): inputs = processor(batch["speech"], sampling_rate=16_000, return_tensors="pt", padding=True) with torch.no_grad(): logits = model(inputs.input_values.to("cuda"), attention_mask=inputs.attention_mask.to("cuda")).logits pred_ids = torch.argmax(logits, d... | e145ecdb35bc1a0008d70e23f1bfa912 |
apache-2.0 | ['generated_from_trainer'] | false | bart-base-finetuned-xsum This model is a fine-tuned version of [facebook/bart-base](https://huggingface.co/facebook/bart-base) on the None dataset. It achieves the following results on the evaluation set: - Loss: 1.0837 - Rouge1: 53.7269 - Rouge2: 42.5336 - Rougel: 52.0499 - Rougelsum: 52.6213 - Gen Len: 15.0789 | 04147563bc31da23cffaa399315270fd |
apache-2.0 | ['generated_from_trainer'] | false | Training results | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len | |:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|:-------:|:---------:|:-------:| | 1.1829 | 1.0 | 4578 | 1.0837 | 53.7269 | 42.5336 | 52.0499 | 52.6213 | 15... | 1874f25cb6cb979010ccb74e59449c12 |
mit | ['generated_from_trainer'] | false | roberta-base-offensive-lm-tapt This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on an unknown dataset. It achieves the following results on the evaluation set: - eval_loss: 0.0014 - eval_runtime: 16.317 - eval_samples_per_second: 61.286 - eval_steps_per_second: 1.961 - epoch: ... | b5b3f309b5685b6723e42cde4612df64 |
mit | ['generated_from_trainer'] | false | Training hyperparameters The following hyperparameters were used during training: - learning_rate: 0.0001 - train_batch_size: 8 - eval_batch_size: 32 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - lr_scheduler_warmup_steps: 5 - num_epochs: 16 - mixed_precision_trai... | a10c719eecdfc94ec703be783d97dc24 |
apache-2.0 | ['generated_from_trainer'] | false | bert-finetuned-ner This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on the conll2003 dataset. It achieves the following results on the evaluation set: - Loss: 0.0624 - Precision: 0.9323 - Recall: 0.9485 - F1: 0.9404 - Accuracy: 0.9859 | 37763aebdd38c18a2a94b94310273502 |
apache-2.0 | ['generated_from_trainer'] | false | Training results | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy | |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:| | 0.087 | 1.0 | 1756 | 0.0696 | 0.9183 | 0.9406 | 0.9293 | 0.9832 | | 0.0378 | 2.0 |... | ca0e1bde78d6d1a1ce47c0da0bdfeb33 |
apache-2.0 | ['audio', 'automatic-speech-recognition', 'hf-asr-leaderboard'] | false | Wav2Vec2-Base-960h + 4-gram This model is identical to [Facebook's Wav2Vec2-Large-960h-lv60-self](https://huggingface.co/facebook/wav2vec2-large-960h-lv60-self), but is augmented with an English 4-gram. The `4-gram.arpa.gz` of [Librispeech's official ngrams](https://www.openslr.org/11) is used. | c4cdda1e4b9ea316642de838c1a02c09 |
apache-2.0 | ['audio', 'automatic-speech-recognition', 'hf-asr-leaderboard'] | false | Evaluation This code snippet shows how to evaluate **patrickvonplaten/wav2vec2-large-960h-lv60-self-4-gram** on LibriSpeech's "clean" and "other" test data. ```python from datasets import load_dataset from transformers import AutoModelForCTC, AutoProcessor import torch from jiwer import wer model_id = "patrickvo... | cc249c30fccfcd066400ef43397f9189 |
apache-2.0 | ['generated_from_trainer'] | false | wav2vec_trained This model is a fine-tuned version of [facebook/wav2vec2-base](https://huggingface.co/facebook/wav2vec2-base) on the None dataset. It achieves the following results on the evaluation set: - Loss: 0.0337 - Wer: 0.1042 | dce19474eed083b8bb6070744bd49fd8 |
apache-2.0 | ['generated_from_trainer'] | false | Training results | Training Loss | Epoch | Step | Validation Loss | Wer | |:-------------:|:-----:|:----:|:---------------:|:------:| | 4.3849 | 2.21 | 500 | 2.9148 | 1.0 | | 1.9118 | 4.42 | 1000 | 0.9627 | 0.5833 | | 0.7596 | 6.64 | 1500 | 0.8953 | 0.3542 | |... | 563e4eaf6695e51fe84c8f4e01245477 |
apache-2.0 | ['generated_from_trainer'] | false | mt5-large-qasrl-es-p1-role This model is a fine-tuned version of [google/mt5-large](https://huggingface.co/google/mt5-large) on an unknown dataset. It achieves the following results on the evaluation set: - Loss: 0.4259 | c7030a1bf0b741d078ab447e651e3263 |
apache-2.0 | ['translation'] | false | opus-mt-guw-fr * source languages: guw * target languages: fr * OPUS readme: [guw-fr](https://github.com/Helsinki-NLP/OPUS-MT-train/blob/master/models/guw-fr/README.md) * dataset: opus * model: transformer-align * pre-processing: normalization + SentencePiece * download original weights: [opus-2020-01-09.zip](http... | 31812813ddfd6a812b084f6a6858a41c |
apache-2.0 | ['automatic-speech-recognition', 'fa'] | false | exp_w2v2t_fa_unispeech-ml_s195 Fine-tuned [microsoft/unispeech-large-multi-lingual-1500h-cv](https://huggingface.co/microsoft/unispeech-large-multi-lingual-1500h-cv) for speech recognition using the train split of [Common Voice 7.0 (fa)](https://huggingface.co/datasets/mozilla-foundation/common_voice_7_0). When using... | 4697a915279d9c857e3870678097538d |
apache-2.0 | ['pytorch', 'causal-lm', 'text-classification', 'text-generation'] | false | mnli). MNLI dataset consists of pairs of sentences, a *premise* and a *hypothesis*. The task is to predict the relation between the premise and the hypothesis, which can be: - `entailment`: hypothesis follows from the premise, - `contradiction`: hypothesis contradicts the premise, - `neutral`: hypothesis and premise ar... | 6c6a1bee5615cf8aa20d203aabd9ff7a |
apache-2.0 | ['pytorch', 'causal-lm', 'text-classification', 'text-generation'] | false | Model description GPT-J 6B is a transformer model trained using Ben Wang's [Mesh Transformer JAX](https://github.com/kingoflolz/mesh-transformer-jax/). "GPT-J" refers to the class of model, while "6B" represents the number of trainable parameters. <figure> | Hyperparameter | Value | |--------------------... | 81fb2fdb2c315b27c2421cc9176540b8 |
apache-2.0 | ['pytorch', 'causal-lm', 'text-classification', 'text-generation'] | false | L223) | <figcaption><p><strong>*</strong> Each layer consists of one feedforward block and one self attention block.</p> <p><strong>†</strong> Although the embedding matrix has a size of 50400, only 50257 entries are used by the GPT-2 tokenizer.</p></figcaption></figure> The model consists of 28 layers with... | 8af186b2da3d8bad16026e7f83c1986e |
apache-2.0 | ['pytorch', 'causal-lm', 'text-classification', 'text-generation'] | false | Fine-tuning and validation data Fine tuning is done using the `train` split of the GLUE MNLI dataset and the performance is measured using the [validation_mismatched](https://huggingface.co/datasets/glue | f08a5b3a4900768b003e97c40d2f5aec |
apache-2.0 | ['pytorch', 'causal-lm', 'text-classification', 'text-generation'] | false | mnli_mismatched) split. `validation_mismatched` means validation examples are not derived from the same sources as those in the training set and therefore not closely resembling any of the examples seen at training time. Data splits for the mnli dataset are the following |train |validation_matched|validation_mismatc... | efd23165b4547f61d1c3bccda4bee474 |
apache-2.0 | ['pytorch', 'causal-lm', 'text-classification', 'text-generation'] | false | Fine-tuning procedure Fine tuned on a Graphcore IPU-POD64 using `popxl`. Prompt sentences are tokenized and packed together to form 1024 token sequences, following [HF packing algorithm](https://github.com/huggingface/transformers/blob/v4.20.1/examples/pytorch/language-modeling/run_clm.py). No padding is used. T... | b321d5873c2a0d317e34deb47031dbac |
apache-2.0 | ['pytorch', 'causal-lm', 'text-classification', 'text-generation'] | false | Hyperparameters: - optimiser: AdamW (beta1: 0.9, beta2: 0.999, eps: 1e-6, weight decay: 0.0, learning rate: 5e-6) - learning rate schedule: warmup schedule (min: 1e-7, max: 5e-6, warmup proportion: 0.005995) - batch size: 128 - training steps: 300. Each epoch consists of ceil(17,762/128) steps, hence 300 steps are app... | bb7f301dc951206ef6679fefcf78a0d0 |
apache-2.0 | ['pytorch', 'causal-lm', 'text-classification', 'text-generation'] | false | Performance The resulting model matches SOTA performance with 82.5% accuracy. ``` Total number of examples 9832 Number with badly formed result 0 Number with incorrect result 1725 Number with correct result 8107 [82.5%] example 0 = {'prompt_text': "mnli hypothesis: ... | 8457042537dcb4adbf3198312f196a9c |
apache-2.0 | ['pytorch', 'causal-lm', 'text-classification', 'text-generation'] | false | How to use The model can be easily loaded using AutoModelForCausalLM. You can use the pipeline API for text generation. ```python from transformers import pipeline, AutoModelForCausalLM, AutoTokenizer tokenizer = AutoTokenizer.from_pretrained('EleutherAI/gpt-j-6B') hf_model = AutoModelForCausalLM.from_pretrained("Gr... | 04afdc215d036ea261ce7153eed57dd4 |
apache-2.0 | ['pytorch', 'causal-lm', 'text-classification', 'text-generation'] | false | [{'generated_text': ' contradiction'}] ``` You can create prompt-like inputs starting from GLUE MNLI dataset using functions provided in the `data_utils.py` script. ```python from datasets import load_dataset from data_utils import form_text, split_text dataset = load_dataset('glue', 'mnli', split='validation_mismat... | 9bed2be188b1613320a3175754b2cba9 |
apache-2.0 | ['pytorch', 'causal-lm', 'text-classification', 'text-generation'] | false | dataset[0] {'text': "mnli hypothesis: Your contributions were of no help with our students' education. premise: Your contribution helped make it possible for us to provide our students with a quality education. target: contradiction<|endoftext|>"} dataset = dataset.map(split_text, remove_columns=['text']) | 83ff05971c85cfe33fd6e1186a01fd78 |
apache-2.0 | ['pytorch', 'causal-lm', 'text-classification', 'text-generation'] | false | dataset[0] {'prompt_text': "mnli hypothesis: Your contributions were of no help with our students' education. premise: Your contribution helped make it possible for us to provide our students with a quality education. target:", | 1a558ca2e62011230540f395699b739c |
mit | ['dialogue', 'russian'] | false | This is a version of the [cointegrated/rut5-small](https://huggingface.co/cointegrated/rut5-small) model fine-tuned on some Russian dialogue data. It is not very smart and creative, but it is small and fast, and can serve as a fallback response generator for some chatbot or can be fine-tuned to imitate the style of so... | 02d2f0e301f7f2331d5befb4a9f0be62 |
mit | ['dialogue', 'russian'] | false | !pip install transformers sentencepiece import torch from transformers import T5ForConditionalGeneration, T5Tokenizer tokenizer = T5Tokenizer.from_pretrained("cointegrated/rut5-small-chitchat") model = T5ForConditionalGeneration.from_pretrained("cointegrated/rut5-small-chitchat") text = 'Привет! Расскажи, как твои д... | 3d1adb71349df8382e4955f8e9fb08cb |
apache-2.0 | ['whisper-event', 'generated_from_trainer'] | false | Whisper small Luxembourgish This model is a fine-tuned version of [bofenghuang/whisper-small-cv11-german-punct](https://huggingface.co/bofenghuang/whisper-small-cv11-german-punct) on the google/fleurs lb_lu dataset. It achieves the following results on the evaluation set: - Loss: 1.1857 - Wer: 39.4990 | 9901b181f563e61844db20a620a82a65 |
apache-2.0 | ['whisper-event', 'generated_from_trainer'] | false | Training hyperparameters The following hyperparameters were used during training: - learning_rate: 1e-05 - train_batch_size: 8 - eval_batch_size: 16 - seed: 42 - distributed_type: multi-GPU - num_devices: 4 - gradient_accumulation_steps: 2 - total_train_batch_size: 64 - total_eval_batch_size: 64 - optimizer: Adam wit... | ff4e0a36de27c6ec60a2dbd0bcf074ef |
apache-2.0 | ['whisper-event', 'generated_from_trainer'] | false | Training results | Training Loss | Epoch | Step | Validation Loss | Wer | |:-------------:|:------:|:----:|:---------------:|:-------:| | 0.0618 | 38.46 | 500 | 1.0104 | 43.2968 | | 0.0055 | 76.92 | 1000 | 1.0684 | 40.1288 | | 0.0024 | 115.38 | 1500 | 1.1056 | 4... | b6ca7bacc6f7b8c3515af8334791cbe4 |
apache-2.0 | ['generated_from_trainer', 'robust-speech-event', 'hf-asr-leaderboard'] | false | wav2vec2-large-xls-r-300m-hindi This model is a fine-tuned version of [facebook/wav2vec2-xls-r-300m](https://huggingface.co/facebook/wav2vec2-xls-r-300m) on the None dataset. It achieves the following results on the evaluation set: - Loss: 0.7049 - Wer: 0.3200 | 0c17d81ed19d8170705bec88b0ecf523 |
cc-by-4.0 | ['spacy', 'token-classification'] | false | NER Model for 'Ministerratsprotokolle' | Feature | Description | | --- | --- | | **Name** | `de_MRP_NER` | | **Version** | `0.0.0` | | **spaCy** | `>=3.1.0,<3.2.0` | | **Default Pipeline** | `tok2vec`, `ner` | | **Components** | `tok2vec`, `ner` | | **Vectors** | 0 keys, 0 unique vectors (0 dimensions) | | **Sources**... | b315fa2127db300d4716e3b6746105ed |
creativeml-openrail-m | ['text-to-image'] | false | KEITH Dreambooth model trained by duja1 with [Hugging Face Dreambooth Training Space](https://huggingface.co/spaces/multimodalart/dreambooth-training) with the v1-5 base model You run your new concept via `diffusers` [Colab Notebook for Inference](https://colab.research.google.com/github/huggingface/notebooks/blob/ma... | 06a2cf24d4b14b37550e69e01c7a98af |
apache-2.0 | ['generated_from_trainer'] | false | my_awesome_qa_model This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the squad dataset. It achieves the following results on the evaluation set: - Loss: 5.8153 | 3d3dd6d8940342b3a97f87d029677904 |
apache-2.0 | ['generated_from_trainer'] | false | Training results | Training Loss | Epoch | Step | Validation Loss | |:-------------:|:-----:|:----:|:---------------:| | No log | 1.0 | 3 | 5.8866 | | No log | 2.0 | 6 | 5.8367 | | No log | 3.0 | 9 | 5.8153 | | 60813024891b3b9c7352e73cfe34eefb |
cc-by-sa-4.0 | ['audio', 'automatic-speech-recognition', 'speech', 'xlsr-fine-tuning-week'] | false | Wav2Vec2-Large-XLSR-Bengali Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) Bengali using the [Bengali ASR training data set containing ~196K utterances](https://www.openslr.org/53/). When using this model, make sure that your speech input is sampled at 16kHz. | a9dabc449d79f188f73aff8a257c6f68 |
cc-by-sa-4.0 | ['audio', 'automatic-speech-recognition', 'speech', 'xlsr-fine-tuning-week'] | false | Usage Dataset must be downloaded from [this website](https://www.openslr.org/53/) and preprocessed accordingly. For example 1250 test samples has been chosen. ```python import pandas as pd test_dataset = pd.read_csv('utt_spk_text.tsv', sep='\\t', header=None)[60000:61250] test_dataset.columns = ["audio_path", "__", "l... | a1376066ab5c677e3ba51436a0cfe982 |
cc-by-sa-4.0 | ['audio', 'automatic-speech-recognition', 'speech', 'xlsr-fine-tuning-week'] | false | We need to read the aduio files as arrays def speech_file_to_array_fn(batch): speech_array, sampling_rate = torchaudio.load(batch["audio_path"]) batch["speech"] = resampler(speech_array).squeeze().numpy() return batch test_dataset = test_dataset.map(speech_file_to_array_fn) inputs = processor(test_dataset["speec... | 8775f8542b5f9dbb1f161bd7e72d79d7 |
cc-by-sa-4.0 | ['audio', 'automatic-speech-recognition', 'speech', 'xlsr-fine-tuning-week'] | false | Evaluation The model can be evaluated as follows on the Bengali test data of OpenSLR. ```python import torch import torchaudio from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor import re wer = load_metric("wer") processor = Wav2Vec2Processor.from_pretrained("tanmoyio/wav2vec2-large-xlsr-bengali") model = Wa... | 3bd34e25ed9b1f95dceac4007b12e8ca |
cc-by-sa-4.0 | ['audio', 'automatic-speech-recognition', 'speech', 'xlsr-fine-tuning-week'] | false | We need to read the aduio files as arrays def speech_file_to_array_fn(batch): batch["sentence"] = re.sub(chars_to_ignore_regex, '', batch["label"]).lower() speech_array, sampling_rate = torchaudio.load(batch["path"]) batch["speech"] = resampler(speech_array).squeeze().numpy() return batch test_dataset = test_d... | a81ba49d9c6a446fdec7a3df27b19546 |
cc-by-sa-4.0 | ['audio', 'automatic-speech-recognition', 'speech', 'xlsr-fine-tuning-week'] | false | We need to read the aduio files as arrays def evaluate(batch): inputs = processor(batch["speech"], sampling_rate=16_000, return_tensors="pt", padding=True) with torch.no_grad(): logits = model(inputs.input_values.to("cuda"), attention_mask=inputs.attention_mask.to("cuda")).logits pred_ids = torch.argma... | e38d45e7a3226927b2d09a526f6324ea |
apache-2.0 | ['national library of spain', 'spanish', 'bne', 'capitel', 'pos'] | false | Model description The **roberta-base-bne-capitel-pos** is a Part-of-speech-tagging (POS) model for the Spanish language fine-tuned from the [roberta-base-bne](https://huggingface.co/PlanTL-GOB-ES/roberta-base-bne) model, a [RoBERTa](https://arxiv.org/abs/1907.11692) base model pre-trained using the largest Spanish cor... | cb006e3b5f6aab143d4dd5a30ce99a18 |
apache-2.0 | ['national library of spain', 'spanish', 'bne', 'capitel', 'pos'] | false | Intended uses and limitations **roberta-base-bne-capitel-pos** model can be used to Part-of-speech-tagging (POS) a text. The model is limited by its training dataset and may not generalize well for all use cases. | b7bacc624bc36d137c8b3268344da7f9 |
apache-2.0 | ['national library of spain', 'spanish', 'bne', 'capitel', 'pos'] | false | How to use Here is how to use this model: ```python from transformers import pipeline from pprint import pprint nlp = pipeline("token-classification", model="PlanTL-GOB-ES/roberta-base-bne-capitel-pos") example = "El alcalde de Vigo, Abel Caballero, ha comenzado a colocar las luces de Navidad en agosto." pos_resul... | 80e3e4f808ce840adcf0fd3bc52ff798 |
apache-2.0 | ['national library of spain', 'spanish', 'bne', 'capitel', 'pos'] | false | Training procedure The model was trained with a batch size of 32 and a learning rate of 5e-5 for 5 epochs. We then selected the best checkpoint using the downstream task metric in the corresponding development set and then evaluated it on the test set. | 172cdaa40aa5e646f735927a539308b9 |
apache-2.0 | ['national library of spain', 'spanish', 'bne', 'capitel', 'pos'] | false | Evaluation results We evaluated the **roberta-base-bne-capitel-pos** on the CAPITEL-POS test set against standard multilingual and monolingual baselines: | Model | CAPITEL-POS (F1) | | ------------|:----| | roberta-large-bne-capitel-pos | **98.56** | | roberta-base-bne-capitel-pos | 98.46 | | BETO | 98... | a9e06a29f1a7643b82a19eb83379e133 |
apache-2.0 | ['translation', 'generated_from_trainer'] | false | opus-finetuned-de-bar This model is a fine-tuned version of [Helsinki-NLP/opus-mt-de-fr](https://huggingface.co/Helsinki-NLP/opus-mt-de-fr) on the None dataset. It achieves the following results on the evaluation set: - Loss: 2.1192 - Bleu: 11.2681 - Chrf: 62.8905 - Ter: 49.5446 | ea44598b6377a6cc89f4d67ccbd17404 |
apache-2.0 | ['translation', 'generated_from_trainer'] | false | Training hyperparameters The following hyperparameters were used during training: - learning_rate: 2e-05 - train_batch_size: 128 - eval_batch_size: 64 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - lr_scheduler_warmup_steps: 50 - num_epochs: 6 - mixed_precision_tra... | 9356fcf1d53db70da0091799f9dd6c86 |
apache-2.0 | ['generated_from_trainer'] | false | swin-tiny-patch4-window7-224-finetuned-flower-classifier This model is a fine-tuned version of [microsoft/swin-tiny-patch4-window7-224](https://huggingface.co/microsoft/swin-tiny-patch4-window7-224) on the imagefolder dataset. It achieves the following results on the evaluation set: - Loss: 0.2362 - Accuracy: 0.9339 ... | 329774a620bf06646eeb59dcc1ad8d1c |
apache-2.0 | ['generated_from_trainer'] | false | Model description This model was created by importing the dataset of the photos of flowers into Google Colab from kaggle here: https://www.kaggle.com/datasets/l3llff/flowers. I then used the image classification tutorial here: https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_... | fafbbcec7505ed73ef9705c49e90d843 |
apache-2.0 | ['generated_from_trainer'] | false | Training results | Training Loss | Epoch | Step | Validation Loss | Accuracy | |:-------------:|:-----:|:----:|:---------------:|:--------:| | 0.365 | 0.99 | 110 | 0.2362 | 0.9339 | | deb7cf9f7f7a6f7d0cb6b0b0a0035314 |
apache-2.0 | ['image-classification', 'timm'] | false | Model card for convnext_tiny.in12k_ft_in1k A ConvNeXt image classification model. Pretrained in `timm` on ImageNet-12k (a 11821 class subset of full ImageNet-22k) and fine-tuned on ImageNet-1k by Ross Wightman. ImageNet-12k training done on TPUs thanks to support of the [TRC](https://sites.research.google/trc/about/... | 7a210979914243935aa85042e6b335a3 |
apache-2.0 | ['image-classification', 'timm'] | false | Model Details - **Model Type:** Image classification / feature backbone - **Model Stats:** - Params (M): 28.6 - GMACs: 4.5 - Activations (M): 13.4 - Image size: 224 x 224 - **Papers:** - A ConvNet for the 2020s: https://arxiv.org/abs/2201.03545 - **Original:** https://github.com/rwightman/pytorch-image-model... | 1588de71818c0d7c946781f2853c64c9 |
apache-2.0 | ['image-classification', 'timm'] | false | Image Classification ```python from urllib.request import urlopen from PIL import Image import timm img = Image.open( urlopen('https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/beignets-task-guide.png')) model = timm.create_model('convnext_tiny.in12k_ft_in1k', pretrained=True) model =... | a626b728fe97d5028b9898729eed648e |
apache-2.0 | ['image-classification', 'timm'] | false | Feature Map Extraction ```python from urllib.request import urlopen from PIL import Image import timm img = Image.open( urlopen('https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/beignets-task-guide.png')) model = timm.create_model( 'convnext_tiny.in12k_ft_in1k', pretrained=Tr... | e2b1c153290d907a3f2f1fa098ff40a6 |
apache-2.0 | ['image-classification', 'timm'] | false | Image Embeddings ```python from urllib.request import urlopen from PIL import Image import timm img = Image.open( urlopen('https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/beignets-task-guide.png')) model = timm.create_model( 'convnext_tiny.in12k_ft_in1k', pretrained=True, ... | 622d2817d4d37d0120c7fb08326375f1 |
apache-2.0 | ['generated_from_trainer'] | false | mobilebert_add_GLUE_Experiment_logit_kd_rte_256 This model is a fine-tuned version of [google/mobilebert-uncased](https://huggingface.co/google/mobilebert-uncased) on the GLUE RTE dataset. It achieves the following results on the evaluation set: - Loss: 0.3914 - Accuracy: 0.5271 | 3c507818e6a70e09352758ef941e33da |
apache-2.0 | ['generated_from_trainer'] | false | Training results | Training Loss | Epoch | Step | Validation Loss | Accuracy | |:-------------:|:-----:|:----:|:---------------:|:--------:| | 0.4089 | 1.0 | 20 | 0.3935 | 0.5271 | | 0.4082 | 2.0 | 40 | 0.3914 | 0.5271 | | 0.4076 | 3.0 | 60 | 0.3919 | 0.... | 6e8b9b08f065578f1e6ca6d5aa9f457e |
apache-2.0 | ['deep-narrow'] | false | T5-Efficient-BASE-NL40 (Deep-Narrow version) T5-Efficient-BASE-NL40 is a variation of [Google's original T5](https://ai.googleblog.com/2020/02/exploring-transfer-learning-with-t5.html) following the [T5 model architecture](https://huggingface.co/docs/transformers/model_doc/t5). It is a *pretrained-only* checkpoint an... | b08c95c156b7e51197e65f3911f4e50e |
apache-2.0 | ['deep-narrow'] | false | Details model architecture This model checkpoint - **t5-efficient-base-nl40** - is of model type **Base** with the following variations: - **nl** is **40** It has **685.53** million parameters and thus requires *ca.* **2742.11 MB** of memory in full precision (*fp32*) or **1371.05 MB** of memory in half precision ... | 8a856f4c5d75f0b339c24bbf2773c3d1 |
mit | [] | false | Model description This model is a distilled version of the [Indonesian BERT base model](https://huggingface.co/cahya/bert-base-indonesian-1.5G). This model is uncased. This is one of several other language models that have been pre-trained with indonesian datasets. More detail about its usage on downstream tasks (te... | 8a4e943aff8f3e607a734f26354b43e4 |
mit | [] | false | How to use You can use this model directly with a pipeline for masked language modeling: ```python >>> from transformers import pipeline >>> unmasker = pipeline('fill-mask', model='cahya/distilbert-base-indonesian') >>> unmasker("Ayahku sedang bekerja di sawah untuk [MASK] padi") [ { "sequence": "[CLS] ayahku s... | d1e8030b8709b06740a1767fbea37851 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.