MCPcopy Create free account
hub / github.com/amazon-science/ReFinED / refined_demo.py

File refined_demo.py

example_scripts/refined_demo.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1from refined.data_types.base_types import Span
2from refined.inference.processor import Refined
3
4refined = Refined.from_pretrained(model_name='wikipedia_model_with_numbers',

Callers

nothing calls this directly

Calls 4

SpanClass · 0.90
process_text_batchMethod · 0.80
from_pretrainedMethod · 0.45
process_textMethod · 0.45

Tested by

no test coverage detected