This Git repository, Langchain_Experiments, showcases a series of language-related experiments conducted using various AI models and tools. The primary focus of the experiments includes building a simple chain using OpenAI, LLama2, and CohereAI, interrogating a research paper, generating images from Hugging Face, and creating a chatbot for YouTube video interaction using CohereAI.
- This experiment demonstrates the construction of a language processing chain utilizing three powerful language models: OpenAI, LLama2, and CohereAI. The notebook provides insights into how these models can be integrated to enhance natural language understanding and generation.
- Utilizing the language models from OpenAI, LLama2, and CohereAI, this experiment applies them to interrogate a research paper. The notebook showcases the models' abilities to extract meaningful information, analyze content, and provide valuable insights.
- This experiment explores image generation capabilities using Hugging Face's models. The notebook demonstrates how language models can be leveraged to create images based on textual input.
- Building on CohereAI's capabilities, this experiment constructs a chatbot specifically designed for interacting with YouTube videos. Users can upload a video and ask the bot questions related to the content, showcasing the potential applications of AI in video analysis and interaction.
File: OpenAI_Whisper_Transcription_Translation.ipynb This final experiment integrates OpenAI Whisper for transcribing a show and translating a Danish Christmas song to English. The notebook demonstrates the powerful capabilities of Whisper in understanding and processing spoken language.
To reproduce these experiments, follow these steps:
-
Clone the repository:
git clone https://github.com/malhilli/Langchain/Langchain_Experiments.git
-
Install the required dependencies:
pip install -r langchain_requirements.txt
-
Open and run the Jupyter notebooks in your preferred environment.
The dependencies required for these experiments are listed in the langchain_requirements.txt file. Make sure to install them before running the notebooks.
If you would like to contribute to this project, feel free to open an issue or submit a pull request. Your feedback and contributions are highly valued.
This project is licensed under the MIT License - see the LICENSE file for details.
Enjoy experimenting with Langchain!