Update README.md
Browse files
README.md
CHANGED
|
@@ -61,7 +61,9 @@ tokenizer = AutoTokenizer.from_pretrained("your-username/NER4Legal_SRB")
|
|
| 61 |
model = AutoModelForTokenClassification.from_pretrained("your-username/NER4Legal_SRB")
|
| 62 |
|
| 63 |
# Example usage
|
| 64 |
-
text = "
|
|
|
|
|
|
|
| 65 |
inputs = tokenizer(text, return_tensors="pt", truncation=True)
|
| 66 |
outputs = model(**inputs)
|
| 67 |
print(outputs)
|
|
|
|
| 61 |
model = AutoModelForTokenClassification.from_pretrained("your-username/NER4Legal_SRB")
|
| 62 |
|
| 63 |
# Example usage
|
| 64 |
+
text = "Rešenjem Apelacionog suda u Novom Sadu, Gž1. 1901/10 od 12.05.2010. godine žalba tuženog je usvojena, a presuda Opštinskog suda u Novom Sadu,
|
| 65 |
+
P. 5734/04 od 29.01.2009. godine, ukinuta i predmet upućen ovom sudu na ponovno suđenje."
|
| 66 |
+
|
| 67 |
inputs = tokenizer(text, return_tensors="pt", truncation=True)
|
| 68 |
outputs = model(**inputs)
|
| 69 |
print(outputs)
|