Sponsored by
Vmake Labs Video Enhancer
-Vmake Labs Video Enhancer uses AI to improve video quality, restore details, reduce blur, and upscale videos to 8K.
Hello there, this is the super secret wip repo for our Modern GBERT 1B checkpoints. Check out the branches and load the model like this:
tokenizer = AutoTokenizer.from_pretrained('aehrm/modern-gbert-1b-dev', revision='pretrain-ba96117')
model = AutoModelForMaskedLM.from_pretrained('aehrm/modern-gbert-1b-dev', revision='pretrain-ba96117', device_map='cuda', _attn_implementation='sdpa')
# remove _attn_implementation keyword if you have Flash Attention 2
text = "Die Hauptstadt von [MASK] ist Paris."
inputs = tokenizer(text, return_tensors="pt")
outputs = model(**inputs.to('cuda'))
output_token_ids = outputs.logits[0].argmax(axis=-1)
output_tokens = tokenizer.convert_ids_to_tokens(output_token_ids)
masked_index = inputs["input_ids"][0].tolist().index(tokenizer.mask_token_id)
print("Prediction for mask:", output_tokens[masked_index])
Runs of aehrm modern-gbert-1b-dev on huggingface.co
266
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About modern-gbert-1b-dev huggingface.co Model
modern-gbert-1b-dev huggingface.co
modern-gbert-1b-dev huggingface.co is an AI model on huggingface.co that provides modern-gbert-1b-dev's model effect (), which can be used instantly with this aehrm modern-gbert-1b-dev model. huggingface.co supports a free trial of the modern-gbert-1b-dev model, and also provides paid use of the modern-gbert-1b-dev. Support call modern-gbert-1b-dev model through api, including Node.js, Python, http.
modern-gbert-1b-dev huggingface.co is an online trial and call api platform, which integrates modern-gbert-1b-dev's modeling effects, including api services, and provides a free online trial of modern-gbert-1b-dev, you can try modern-gbert-1b-dev online for free by clicking the link below.
aehrm modern-gbert-1b-dev online free url in huggingface.co:
modern-gbert-1b-dev is an open source model from GitHub that offers a free installation service, and any user can find modern-gbert-1b-dev on GitHub to install. At the same time, huggingface.co provides the effect of modern-gbert-1b-dev install, users can directly use modern-gbert-1b-dev installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
modern-gbert-1b-dev install url in huggingface.co: