Skip to content

Instantly share code, notes, and snippets.

View Daethyra's full-sized avatar
🤍
Vibing<3

Daethyra

🤍
Vibing<3
  • Cyberspace
  • 06:31 (UTC -07:00)
View GitHub Profile
@Daethyra
Daethyra / fine-tune-microsoft-git.ipynb
Last active May 22, 2024 12:42
Fine-Tune a Captioning Model.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Daethyra
Daethyra / langchain-qa-over-local-docs.ipynb
Last active October 9, 2023 13:36
Question/Answering w/ Chroma | Embeddings Retrieval
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Daethyra
Daethyra / query_local_docs.py
Last active October 7, 2023 04:57
Python module for Querying Local Documents w/ LangChain and Chroma
import os
import glob
from dotenv import load_dotenv
from retrying import retry
from langchain.document_loaders import PyPDFLoader
from langchain.text_splitter import RecursiveCharacterTextSplitter
from langchain.vectorstores import Chroma
from langchain.embeddings.openai import OpenAIEmbeddings
from langchain.llms import OpenAI as OpenAILLM
from langchain.chains.question_answering import load_qa_chain
@Daethyra
Daethyra / ask-a-book-questions.ipynb
Last active October 5, 2023 23:52
ask-a-book-questions.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Daethyra
Daethyra / gen-qa-openai.ipynb
Last active October 5, 2023 19:43
Generative: Question/Answering w/ OpenAI
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Daethyra
Daethyra / langchain-embeddings-retrieval-agent.ipynb
Last active October 5, 2023 18:33
langchain-embeddings-retrieval-agent.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Daethyra
Daethyra / clustering-supervised-similarity-with-chocolates.ipynb
Last active October 5, 2023 01:26
Clustering: Supervised Similarity w/ chocolates
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Daethyra
Daethyra / pinecone-semantic-search.ipynb
Last active October 5, 2023 01:15
Semantic Search w/ Pinecone
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Daethyra
Daethyra / fine-tuning-a-masked-language-model-pytorch.ipynb
Last active October 5, 2023 00:34
Fine-tuning Distilbert (PyTorch)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Daethyra
Daethyra / fine-tuning-bert-token-classification-pytorch.ipynb
Last active October 5, 2023 00:33
Fine-tuning BERT | Token classification (PyTorch)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.