AI-Powered Anki Flashcard Generator
Betakads simplifies the creation of Anki flashcards using AI. Choose a data source—either a PDF document or a YouTube video. The app extracts text from these sources, whether it's video captions or content from a PDF. Specify the number of flashcards you need, and Betakads will generate them, saving the results in a .txt format that is ready for easy import into Anki for seamless study and review.
-
Download the Model
Download thephi3-mini-4k-instruct-onnx
model to your local machine using the command:git clone https://huggingface.co/microsoft/Phi-3-mini-4k-instruct-onnx <FOLDER_PATH>
-
Configure the Model Path
Insert the absolute path to the folder containing the.onnx
file into the designated placeholder in theServiceCollectionExtensions.cs
file:public static void AddAIService(this IServiceCollection collection) { string modelPath = "<MODEL_PATH>"; collection.AddSingleton(new Model(modelPath)).AddSingleton<Tokenizer>(); collection.AddTransient<IAIService, AIService>(); }
Prompt Reference: