this post was submitted on 17 Nov 2023
1 points (100.0% liked)

LocalLLaMA

1 readers
1 users here now

Community to discuss about Llama, the family of large language models created by Meta AI.

founded 10 months ago
MODERATORS
 

Prompt like:

Extract the company names from the texts below and return as an array

-- ["Google", "Meta", "Microsoft"]

you are viewing a single comment's thread
view the rest of the comments
[โ€“] xelldev13@alien.top 1 points 10 months ago (1 children)

You can do this with NER model like bert, is more fast, but is only for entitie recognition

[โ€“] name_is_unimportant@alien.top 1 points 10 months ago

Yeah Named Entity Recognition with BERT works very well, provided that you have a good dataset. Another limitation is that it can only handle 512 tokens