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 ·
35080c2
1
Parent(s): 5c928c7
Update README.md
Browse files
README.md
CHANGED
|
@@ -46,7 +46,7 @@ datasets:
|
|
| 46 |
- serpapi/local-results-en
|
| 47 |
---
|
| 48 |
|
| 49 |
-
<h1 align="center">BERT-
|
| 50 |
|
| 51 |
<p align="center">
|
| 52 |
<img src="https://camo.githubusercontent.com/6c920f0b551360ca3257308e0f3547fe538496b9cb332d6a208992030abf6c3d/68747470733a2f2f736572706170692e636f6d2f616e64726f69642d6368726f6d652d353132783531322e706e67" alt="The Logo of SerpApi" width="200" height="200">
|
|
|
|
| 46 |
- serpapi/local-results-en
|
| 47 |
---
|
| 48 |
|
| 49 |
+
<h1 align="center">BERT-Based Classification Model for Google Local Listings</h1>
|
| 50 |
|
| 51 |
<p align="center">
|
| 52 |
<img src="https://camo.githubusercontent.com/6c920f0b551360ca3257308e0f3547fe538496b9cb332d6a208992030abf6c3d/68747470733a2f2f736572706170692e636f6d2f616e64726f69642d6368726f6d652d353132783531322e706e67" alt="The Logo of SerpApi" width="200" height="200">
|