Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up
Simen Kjelsrud's picture

Simen Kjelsrud

simkjels
4
·

AI & ML interests

None yet

Recent Activity

liked a model 7 days ago
ApolloQT/Flux-Uncensored-V2
liked a model 27 days ago
Qwen/Qwen3.8-Flash-Next
reacted to lucifertrj's post with 👀 over 2 years ago
Evaluate RAG using Open Source from HuggingFace using BeyondLLM ``` # pip install beyondllm # pip install huggingface_hub # pip install llama-index-embeddings-fastembed from beyondllm.source import fit from beyondllm.embeddings import FastEmbedEmbeddings from beyondllm.retrieve import auto_retriever from beyondllm.llms import HuggingFaceHubModel from beyondllm.generator import Generate import os from getpass import getpass os.environ['HUGGINGFACE_ACCESS_TOKEN'] = getpass("Enter your HF API token:") data = fit("RedHenLab_GSoC_Tarun.pdf",dtype="pdf") embed_model = FastEmbedEmbeddings() retriever = auto_retriever(data=data,embed_model=embed_model,type="normal",top_k=3) llm = HuggingFaceHubModel(model="mistralai/Mistral-7B-Instruct-v0.2") pipeline = Generate(question="what models has Tarun fine-tuned?",llm=llm,retriever=retriever) print(pipeline.call()) # Return the AI response print(pipeline.get_rag_triad_evals()) ``` GitHub: https://github.com/aiplanethub/beyondllm Don't forget to ⭐️ the repo
View all activity

Organizations

Advokatfirmaet Wiersholm AS's profile picture

models 0

None public yet

datasets 0

None public yet
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs