This package is made for beginners who are appearing for interview preparation and to crack coding interviews
Project description
Interview Buddy
Interview Buddy is designed for beginners who are new to coding which has two ai-models in it code-llama-7b for code generation and python-code-explainer which makes it useful for generating code and understanding code for both beginner and intermediate programmers
Installation
Install interview-buddy with cmd
pip install interview-buddy==0.1
Initialization
from interview.interview import Interview
interview = Interview(data=10)
Initialize the Interview object with necessary data
Methods
a. factorial() This method calculates the factorial of a given number.
Parameters:
- data: Integer, the number for which factorial is to be calculated. Example:
result = interview.factorial()
print("Factorial:", result)
Supported Methods
List all the supported methods along with a brief description of what each method does.
fibonacci_series(): Generates a Fibonacci series.
palindrom(): Checks if a string is a palindrome.
bubble_sort(): Sorts a list using the bubble sort algorithm.
insertion_sort(): Sorts a list using the insertion sort algorithm.
anagram(): Checks if two strings are anagrams.
binary_search(): Performs binary search on a sorted list.
min_(): Finds the minimum value in a list.
max_(): Finds the maximum value in a list.
reverse(): Reverses a list.
Installation
Install interview-buddy with cmd
pip install interview-buddy
Authors
- @RoboJunior 👨💻
Dependencies
- Transformers
- Ctransformers
Transformers - Installation
pip install transformers
Ctranformers - Installation
#Base ctransformers with no GPU acceleration
pip install ctransformers>=0.2.24
#Or with CUDA GPU acceleration
pip install ctransformers[cuda]>=0.2.24
#Or with ROCm GPU acceleration
CT_HIPBLAS=1 pip install ctransformers>=0.2.24 --no-binary ctransformers
#Or with Metal GPU acceleration for macOS systems
CT_METAL=1 pip install ctransformers>=0.2.24 --no-binary ctransformers
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file interview_buddy-0.3-py3-none-any.whl
.
File metadata
- Download URL: interview_buddy-0.3-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5abab3597fc32583e291ea2f745db246e5605539bfa2b773faf76b57e58062da |
|
MD5 | 3c5c7491cd63b0bcb37d1ffe0a6f2607 |
|
BLAKE2b-256 | fc9b366819305a9bbffb35156eaccfa90b6c22921d03804945dcb5a362d2ade0 |