Downloads · 30 days
10
13% of all-time downloads
broadfield/scratch-model-1776390257
scratch-model-1776390257 is a machine learning model from broadfield. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
10
13% of all-time downloads
All-time downloads
78
Public
Repo size
92.4 MB
Likes
0
Public
Click a slice to open those files.
.bin46.2 MB · 93%
From the Hugging Face model README
This is a scratch transformer model created using the Incremental Model Trainer.
from trainer.scratch_model import ScratchModelCreator
creator = ScratchModelCreator()
# Load from local
model, tokenizer, config = creator.load_with_tokenizer("path/to/model")
# Or load from HuggingFace Hub
local_path = creator.download_from_hub("username/scratch-model-name")
model, tokenizer, config = creator.load_with_tokenizer(local_path)
This model uses a GPT2-compatible configuration but requires the custom ScratchTransformer class to load. Use the ScratchModelCreator as shown above.
Created with Incremental Model Trainer