model update
Browse files
README.md
CHANGED
|
@@ -73,7 +73,7 @@ model-index:
|
|
| 73 |
|
| 74 |
pipeline_tag: token-classification
|
| 75 |
widget:
|
| 76 |
-
- text: "Get the all-analog Classic Vinyl Edition of `Takin' Off` Album from {@
|
| 77 |
example_title: "NER Example 1"
|
| 78 |
---
|
| 79 |
# tner/bert-base-tweetner7-2020
|
|
@@ -136,7 +136,7 @@ def format_tweet(tweet):
|
|
| 136 |
return tweet
|
| 137 |
|
| 138 |
|
| 139 |
-
text = Get the all-analog Classic Vinyl Edition of `Takin' Off` Album from @herbiehancock via @bluenoterecords link below: http://bluenote.lnk.to/AlbumOfTheWeek
|
| 140 |
text_format = format_tweet(text)
|
| 141 |
model = TransformersNER("tner/bert-base-tweetner7-2020")
|
| 142 |
model.predict([text_format])
|
|
|
|
| 73 |
|
| 74 |
pipeline_tag: token-classification
|
| 75 |
widget:
|
| 76 |
+
- text: "Get the all-analog Classic Vinyl Edition of `Takin' Off` Album from {@herbiehancock@} via {@bluenoterecords@} link below: {{URL}}"
|
| 77 |
example_title: "NER Example 1"
|
| 78 |
---
|
| 79 |
# tner/bert-base-tweetner7-2020
|
|
|
|
| 136 |
return tweet
|
| 137 |
|
| 138 |
|
| 139 |
+
text = "Get the all-analog Classic Vinyl Edition of `Takin' Off` Album from @herbiehancock via @bluenoterecords link below: http://bluenote.lnk.to/AlbumOfTheWeek"
|
| 140 |
text_format = format_tweet(text)
|
| 141 |
model = TransformersNER("tner/bert-base-tweetner7-2020")
|
| 142 |
model.predict([text_format])
|