Downloads · 30 days
17
1% of all-time downloads
piazzola/address-detection-model
address-detection-model is a text generation model from piazzola. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as cc-by-nc-2.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
17
1% of all-time downloads
All-time downloads
1.6K
Public
Repo size
2.6 GB
Likes
0
Public
Click a slice to open those files.
.bin1.3 GB · 100%
From the Hugging Face model README
This model is a fine-tuned version of facebook/opt-350m on the addressWithContext dataset.
Make sure to set max_new_tokens = 20; otherwise, the model will generate one token at a time.
nlp = pipeline("text-generation",
model="piazzola/tmp_trainer",
max_new_tokens=20)
nlp("I live at 15 Firstfield Road.")
Note that if you would like to try longer sentences using the Hosted inference API on the right hand side on this website, you might need to click "Compute" more than one time to get the address.
The model is intended to detect addresses that occur in a sentence.
This model is trained on piazzola/addressWithContext.
The following hyperparameters were used during training: