AI SeedbankHelp preserve open and free AI for humanity's future

← All models

csarron_mobilebert-uncased-squad-v2

csarron · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: 1 · Leechers: 0

Observed 2026-09-02T13:56:39Z via announce.aitorrent.org:7070.

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


language: en thumbnail: license: mit tags:

  • question-answering
  • mobilebert datasets:
  • squad_v2 metrics:
  • squad_v2 widget:
  • text: "Which name is also used to describe the Amazon rainforest in English?" context: "The Amazon rainforest (Portuguese: Floresta Amazônica or Amazônia; Spanish: Selva Amazónica, Amazonía or usually Amazonia; French: Forêt amazonienne; Dutch: Amazoneregenwoud), also known in English as Amazonia or the Amazon Jungle, is a moist broadleaf forest that covers most of the Amazon basin of South America. This basin encompasses 7,000,000 square kilometres (2,700,000 sq mi), of which 5,500,000 square kilometres (2,100,000 sq mi) are covered by the rainforest. This region includes territory belonging to nine nations. The majority of the forest is contained within Brazil, with 60% of the rainforest, followed by Peru with 13%, Colombia with 10%, and with minor amounts in Venezuela, Ecuador, Bolivia, Guyana, Suriname and French Guiana. States or departments in four nations contain "Amazonas" in their names. The Amazon represents over half of the planet's remaining rainforests, and comprises the largest and most biodiverse tract of tropical rainforest in the world, with an estimated 390 billion individual trees divided into 16,000 species."
  • text: "How many square kilometers of rainforest is covered in the basin?" context: "The Amazon rainforest (Portuguese: Floresta Amazônica or Amazônia; Spanish: Selva Amazónica, Amazonía or usually Amazonia; French: Forêt amazonienne; Dutch: Amazoneregenwoud), also known in English as Amazonia or the Amazon Jungle, is a moist broadleaf forest that covers most of the Amazon basin of South America. This basin encompasses 7,000,000 square kilometres (2,700,000 sq mi), of which 5,500,000 square kilometres (2,100,000 sq mi) are covered by the rainforest. This region includes territory belonging to nine nations. The majority of the forest is contained within Brazil, with 60% of the rainforest, followed by Peru with 13%, Colombia with 10%, and with minor amounts in Venezuela, Ecuador, Bolivia, Guyana, Suriname and French Guiana. States or departments in four nations contain "Amazonas" in their names. The Amazon represents over half of the planet's remaining rainforests, and comprises the largest and most biodiverse tract of tropical rainforest in the world, with an estimated 390 billion individual trees divided into 16,000 species."

MobileBERT fine-tuned on SQuAD v2

MobileBERT is a thin version of BERT_LARGE, while equipped with bottleneck structures and a carefully designed balance between self-attentions and feed-forward networks.

This model was fine-tuned from the HuggingFace checkpoint google/mobilebert-uncased on SQuAD2.0.

Details

Dataset Split # samples
SQuAD2.0 train 130k
SQuAD2.0 eval 12.3k

Fine-tuning

  • Python: 3.7.5

  • Machine specs:

    CPU: Intel(R) Core(TM) i7-6800K CPU @ 3.40GHz

    Memory: 32 GiB

    GPUs: 2 GeForce GTX 1070, each with 8GiB memory

    GPU driver: 418.87.01, CUDA: 10.1

  • script:

    # after install https://github.com/huggingface/transformers
    
    cd examples/question-answering
    mkdir -p data
    
    wget -O data/train-v2.0.json https://rajpurkar.github.io/SQuAD-explorer/dataset/train-v2.0.json
    
    wget -O data/dev-v2.0.json  https://rajpurkar.github.io/SQuAD-explorer/dataset/dev-v2.0.json
    
    export SQUAD_DIR=`pwd`/data
    
    python run_squad.py \
      --model_type mobilebert \
      --model_name_or_path google/mobilebert-uncased \
      --do_train \
      --do_eval \
      --do_lower_case \
      --version_2_with_negative \
      --train_file $SQUAD_DIR/train-v2.0.json \
      --predict_file $SQUAD_DIR/dev-v2.0.json \
      --per_gpu_train_batch_size 16 \
      --per_gpu_eval_batch_size 16 \
      --learning_rate 4e-5 \
      --num_train_epochs 5.0 \
      --max_seq_length 320 \
      --doc_stride 128 \
      --warmup_steps 1400 \
      --save_steps 2000 \
      --output_dir $SQUAD_DIR/mobilebert-uncased-warmup-squad_v2 2>&1 | tee train-mobilebert-warmup-squad_v2.log
    

It took about 3.5 hours to finish.

Results

Model size: 95M

Metric # Value # Original (Table 5)
EM 75.2 76.2
F1 78.8 79.2

Note that the above results didn't involve any hyperparameter search.

Example Usage

from transformers import pipeline

qa_pipeline = pipeline(
    "question-answering",
    model="csarron/mobilebert-uncased-squad-v2",
    tokenizer="csarron/mobilebert-uncased-squad-v2"
)

predictions = qa_pipeline({
    'context': "The game was played on February 7, 2016 at Levi's Stadium in the San Francisco Bay Area at Santa Clara, California.",
    'question': "What day was the game played on?"
})

print(predictions)
# output:
# {'score': 0.71434086561203, 'start': 23, 'end': 39, 'answer': 'February 7, 2016'}

Created by Qingqing Cao | GitHub | Twitter

Made with ❤️ in New York.

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:43bc343d9c64e902c0b3eb299c5fce4a6af46483&dn=csarron_mobilebert-uncased-squad-v2

Open magnet in torrent client · infohash 43bc343d9c64e902c0b3eb299c5fce4a6af46483

Files & hashes

PathSizesha1sha256
README.md5.1 KB (5,238 B)8305dbf5a9cf7b634a5ccb7b0b3036f58b75130e415ca18ae8e1d992e6d9c1b74e944c0774348af74b46bd8287a162c93c05820c
config.json765 B (765 B)49541778ca94333452c9403c4bbd9e08cc7b270e3ac196c44711dc206bd7d21704cc5753c95018b9d8d4aefb1d2c3b0e413b0ad1
model.safetensors93.9 MB (98,470,130 B)cfdf245a13630a35b201318e66c951afda1430985a9adc5001ddb8b9760606c20ac9bb2109e1eb292a3d914c9816235daa218269
pytorch_model.bin94.0 MB (98,612,899 B)2d2f4305b5ba9c91228c9f7db5a846f0af6b677d226fbd74da60509880994c22d927f06f4e620f674fdf436211ad6902f01de7fb
special_tokens_map.json112 B (112 B)e7b0375001f109a6b8873d756ad4f7bbb15fbaa5303df45a03609e4ead04bc3dc1536d0ab19b5358db685b6f3da123d05ec200e3
tokenizer_config.json85 B (85 B)11869c5958d39bd0870199b1f0b180113ef50dc0b13116b0941ee0b93b1b2d75c3dd87e9e4897e4a21e737c06ca1e94a78dddd6e
training_args.bin1.6 KB (1,683 B)6e0f8cb8754ad3ad3c67cdd09b18df82feb086a1b27e5e03c784063ec2616a4a8e24ecf4a025831374da352c982b138ec77e6459
vocab.txt226.1 KB (231,508 B)fb140275c155a9c7c5a3b3e0e77a9e839594a93807eced375cec144d27c900241f3e339478dec958f92fddbc551f295c992038a3

Cite this release

Canonical URL
https://aiseedbank.org/models/csarron_mobilebert-uncased-squad-v2/
Slug
csarron_mobilebert-uncased-squad-v2
Infohash
43bc343d9c64e902c0b3eb299c5fce4a6af46483
License
mit
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: csarron_mobilebert-uncased-squad-v2.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositorycsarron/mobilebert-uncased-squad-v2
Revision (pinned)6d49c30d06c6042041039f6fe076b011f0c2053c
Fetched at2026-09-02T04:29:30Z
License at fetchmit
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-02T04:29:35Z

mit188.2 MB (197,322,420 bytes)transformerspytorchonnxsafetensorsmobilebertquestion-answeringendpoints_compatible1 language (en)paper: 2004.02984