Aradina Chettakattu

Results 6 comments of Aradina Chettakattu

So how is exactly KeyBERT+KeyLLM work? just prompting and asking llm to give as keywords from a list and it make use of weighting system to find the answer than...

file_path = os.path.join(app.root_path, 'static', 'stopwords.txt') if os.path.exists(file_path) and os.path.getsize(file_path) > 0: with open(file_path, 'r') as file: for line in file: Final_stopwords.append(line.strip()) # Remove newline characters Final_stopwords = list(set(Final_stopwords)) Final_stopwords =...

here is another reference for the code with KeyLLM import openai from keybert.llm import OpenAI from keybert import KeyLLM, KeyBERT # Create your LLM openai.api_key = "sk-...." llm = OpenAI()...

sorry but let me make it more clear. In this below code i am only using **KeyBERT**. ```python ### **Code** from keybert import KeyBERT from PyPDF2 import PdfReader file_path =...

![image](https://github.com/user-attachments/assets/8114431d-d2bf-4667-b9eb-05c350866ce6) In this result the acronym and synonyms are not identified by KeyBERT ``` acronym used = CO2 -> carbon dioxide synonym used = emission -> release Plural = emission...

But do you know why its require the word itself to appear in the text? What I understood from the documentation is it uses embeddings and cosine similarity. Aint it...