Instructions to use serpapi/bert-base-local-results with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use serpapi/bert-base-local-results with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="serpapi/bert-base-local-results")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("serpapi/bert-base-local-results") model = AutoModelForSequenceClassification.from_pretrained("serpapi/bert-base-local-results", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
bd2a7e8
1
Parent(s): 89adf68
Update README.md
Browse files
README.md
CHANGED
|
@@ -114,8 +114,7 @@ Output: address
|
|
| 114 |
</li>
|
| 115 |
<li><strong>Returning Assurance Score for After-Correction</strong>
|
| 116 |
<ul style="list-style-type: disc;">
|
| 117 |
-
<li><code>"
|
| 118 |
-
<li><code>"Restaurant"</code> → <code>type</code></li>
|
| 119 |
</ul>
|
| 120 |
</li>
|
| 121 |
<li><strong>Strong Against Grammatical Mistakes</strong>
|
|
|
|
| 114 |
</li>
|
| 115 |
<li><strong>Returning Assurance Score for After-Correction</strong>
|
| 116 |
<ul style="list-style-type: disc;">
|
| 117 |
+
<li><code>"4.7"</code> → <code>rating(0.999)</code></li>
|
|
|
|
| 118 |
</ul>
|
| 119 |
</li>
|
| 120 |
<li><strong>Strong Against Grammatical Mistakes</strong>
|