-
I am using Stanza to identify NER is short pieces of text like (business names/brand names). Here is one example:
```
# BUILDING THE MODELS
#-----stanza
sen = stanza.Pipeline ("en")
smlp = s…
-
### Feature request
1. [run_ner.py in examples](https://github.com/huggingface/transformers/blob/main/examples/pytorch/token-classification/run_ner.py) are requiring data of pre-tokenized words, like…
-
### Title
NER on patent data
### Team Name
Octane
### Email
202318005@daiict.ac.in
### Team Member 1 Name
Aditi singh
### Team Member 1 Id
202318005
### Team Member 2 Name
Hani Soni
### Te…
-
when i run this
DATA=sample
LLM=qwen2:7b
SYNONYM_THRESH=0.8
GPUS=0
LLM_API=ollama
bash src/setup_hipporag_colbert.sh $DATA $LLM $GPUS $SYNONYM_THRESH $LLM_API
an error occurs:
![image](https…
-
**Script**
```
from typing import List, Literal, Dict, Any, Optional
import dspy
from datasets import load_dataset
from pydantic import BaseModel, Field
llm = dspy.LM(model="databricks/dat…
-
### Feature request
As an NLP enthusiast working on Named Entity Recognition (NER) and Relation Extraction (RE) tasks, I would like to request the inclusion of NER and RE-related examples, best pr…
-
# Left TODO
- [ ] merge DS PRs
- [ ] implement Java AMQP namespacing if needed (#1385)
- [ ] monitor resources usage (CPU/RAM)
- [ ] see which model we can afford
-
请问显存不够,只有4090D,bits设置16,如果想用多卡进行微调后的OneKe推理,有提供单机多卡推理代码吗?需要用什么命令执行?
```
CUDA_VISIBLE_DEVICES=0,1 python src/inference.py \
--stage sft \
--model_name_or_path '/data/shensw/model/OneKE' \
…
-
I wanted to take a look at the text-fabric browser for the missieven, I made a virtualenv then followed the instructions in the README, `pip install text-fabric`, and:
```
$ tf clariah/wp6-missiev…
-
After carefully reviewing the code logic in `src/eval/evaluate.py`, I noticed that in the following case: `pred: [("O", 0), ("O", 1), ("B-LOC", 2)]` and `gt: [("O", 0), ("O", 1), ("B-ORG", 2)]`, the c…