Instructions to use privacy-tech-lab/RegionDistilledModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use privacy-tech-lab/RegionDistilledModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="privacy-tech-lab/RegionDistilledModel")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("privacy-tech-lab/RegionDistilledModel") model = AutoModelForSequenceClassification.from_pretrained("privacy-tech-lab/RegionDistilledModel") - Notebooks
- Google Colab
- Kaggle
Commit ·
26743da
1
Parent(s): ed3900b
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
widget:
|
| 3 |
+
- text: "'{\"ip_address\":\"45.8.223.197\",\"country_name\":\"Japan\",\"country_iso_code\":\"JP\",\"state\":\"<TARGET_REGION>\",\"state_iso_code\":\"27\",\"city\":\"Osaka\",\"city_id\":1853909,\"city_confidence\":-1,\"postal_code\":\"543-0062\",\"latitude\":34.6946,\"lo'"
|
| 4 |
+
example_title: "Region True Positive Example"
|
| 5 |
+
- text: "' is an animal welfare issue as well as wasting time of vets and carers who rescue and treat these injured animals for free.\\\\n<TARGET_REGION> has banned these products as has Iceland, New Zealand and Ireland. Scotland has said they will ban them. Our birds, Microbat'"
|
| 6 |
+
example_title: "Region False Positive Example"
|
| 7 |
+
---
|