krinal commited on
Commit
00334cb
1 Parent(s): 7c483a8

Model save

Browse files
README.md ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ license: apache-2.0
4
+ library_name: span-marker
5
+ tags:
6
+ - span-marker
7
+ - token-classification
8
+ - ner
9
+ - named-entity-recognition
10
+ pipeline_tag: token-classification
11
+ ---
12
+
13
+ # SpanMarker for Named Entity Recognition
14
+
15
+ This is a [SpanMarker](https://github.com/tomaarsen/SpanMarkerNER) model that can be used for Named Entity Recognition. In particular, this SpanMarker model uses [roberta-base](https://huggingface.co/roberta-base) as the underlying encoder.
16
+
17
+ ## Usage
18
+
19
+ To use this model for inference, first install the `span_marker` library:
20
+
21
+ ```bash
22
+ pip install span_marker
23
+ ```
24
+
25
+ You can then run inference with this model like so:
26
+
27
+ ```python
28
+ from span_marker import SpanMarkerModel
29
+
30
+ # Download from the 🤗 Hub
31
+ model = SpanMarkerModel.from_pretrained("span_marker_model_name")
32
+ # Run inference
33
+ entities = model.predict("Amelia Earhart flew her single engine Lockheed Vega 5B across the Atlantic to Paris.")
34
+ ```
35
+
36
+ See the [SpanMarker](https://github.com/tomaarsen/SpanMarkerNER) repository for documentation and additional information on this library.
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:87586fd5f1ebc206494f9a333da64be78c13f4e2ec60920d166720d4527c8aa6
3
  size 498717365
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74f405667250e52d00b7c931377b0d00086525bc7908364ccead063b8a57e05a
3
  size 498717365
runs/Jun29_10-33-13_f35819c7d212/events.out.tfevents.1688034836.f35819c7d212.1456.1 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:80bc2bb92207b21f04359d0267547e0e1124fedf433f78b8dd143fbcb6a74074
3
- size 14480
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2508ca0bf59f674a52b9b0108bbfbb0ae9c852b3acd578571e59314a874f8bfc
3
+ size 16470
runs/Jun29_10-33-13_f35819c7d212/events.out.tfevents.1688037110.f35819c7d212.1456.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0182afc18a5e4578f7857f5718ce1de33cfee47f4a04fd4f815eae4843825f1
3
+ size 1096