Korean Simple Contrastive Learning of Sentence Embeddings implementation using pytorch

KoSimCSE Korean Simple Contrastive Learning of Sentence Embeddings implementation using pytorch Installation git clone https://github.com/BM-K/KoSimCSE.git cd KoSimCSE git clone https://github.com/SKTBrain/KoBERT.git cd KoBERT pip install -r requirements.txt pip install . cd .. pip install -r requirements.txt Training – only supervised bash run_example.sh Pre-Trained Models Using BERT [CLS] token representation Pre-Trained model check point Performance Model Cosine Pearson Cosine Spearman Euclidean Pearson Euclidean Spearman Manhattan Pearson Manhattan Spearman Dot Pearson Dot Spearman KoSBERT_SKT* 78.81 78.47 77.68 77.78 77.71 77.83 75.75 75.22 KoSimCSE_SKT […]

Read more

A minimalistic manga reader for desktop built with React and Django

smanga A minimalistic manga reader/server for serving local manga images on desktop browser.Provides a two-page view layout just as reading a physical copy. Requirements Python(with pip) and Node.js(with npm) installations required. Directory structure & naming Following naming scheme is to be followed for all manga to be served: | |– series-name-in-dash-case/ |– chapters/ |– 0001/ |– 001.png |– 002.png … |– 0002/ … |– volumes/ |– 030/ |– 0120/ |– 001.png … … |– 031/ … |– another-series/ … Series […]

Read more

Create Flappy Bird Game With Pygame 2.0.1

Flappy Bird Python Game Development – Create Flappy Bird with Pygame 2.0.1 Flappy Bird Update April (1.5.0) Company:Every Developer A Flappy Bird clone made using python-pygame Programming language >>> [Python_3.9.1]Game library …… >>> [Pygame_2.0.1] install Pygame : pip install pygame For Convert Python files to EXE files install : pip install pyinstaller Install Python 3.9.0 (Reccomended or later) for Windows 10 from >>>here [*Note that Python 3.9.x cannot be used on Windows 7 or earlier] Install Python 3.7.0 (Reccomended )for […]

Read more

CRUD app to create and save code snippets, Flask/Python restful Api/backend and React

MS3 Cheat-Hub A cheatsheet hub. An app that organizes your code snippets into collections of cheat sheets and allows you to view, like and save others’. The project is developed as part of MS3 Data Centric module at Code Institute. It is written with a Flask/Python restful backend API, and a React/Typescript CRA frontend. Please visit the project at cheathub.vercel.app. Additionally, the restful backend API can be viwed at cheathub-backend.herokuapp.com. For a sample response, please visit the /api/snippets endpoint. UX […]

Read more

Download NCERT books using scrapy

download NCERT books using scrapy How to use Initial Setup git clone https://github.com/nit-in/download_ncert_books.git cd download_ncert_books pip install -r requirements.txt to run the spider scrapy crawl –nolog ncert and follow the prompts for example if you want to download Class 11th Economics Book scrapy crawl –nolog ncert ─╯ Enter the class: 11 Select one the subjects: Enter 1 for Sanskrit Enter 2 for Accountancy Enter 3 for Chemistry Enter 4 for Mathematics Enter 5 for Economics Enter 6 for Psychology Enter […]

Read more

A Python application to automatize the process of uploading files to Amazon S3

intelligent-s3-upload Upload files or folders (even with subfolders) to Amazon S3 in a totally automatized way taking advantage of: Amazon S3 Multipart Upload: The uploaded files are processed transparently in parts improving the throughput and the quick recovery from any network issues. Resilent Retry System: Intelligent S3 Upload has been built to detect any error during the uploading process and to perform any retries whenever is necessary. User Friendly Interface: Just check the demo to see with your own eyes […]

Read more

ts2vg: Time series to visibility graphs

ts2vg The Python ts2vg package provides high-performance algorithm implementations to build visibility graphs from time series data. The visibility graphs and some of their properties (e.g. degree distributions) are computed quickly and efficiently, even for time series with millions of observations thanks to the use of NumPy and a custom C backend (via Cython) developed for the visibility algorithms. The visibility graphs are provided according to the mathematical definitions described in: Lucas Lacasa et al., “From time series to complex […]

Read more

A medium-security python password manager that encrypts passwords

Pass Lock AES-encrypted-password-managerA medium security python password manager that encrypt passwords using Advanced Encryption Standard (AES) PassLock is a password manager and password generator that encrypts passwords using AES and save them securely on your local machine. The password is encrypted and decrypted with a 32-bit key embedded in the master password and will get updated with each use. So extending the length of the master password will steadily improve the overall security and key length. PassLock also generates a […]

Read more

A small Python app to create Notion pages from Jira issues

Jira to Notion This little program will capture a Jira issue and create a corresponding Notion subpage. Mac users can fetch the current issue from the foremost Chrome or Safari window. Others will get a popup asking for the issue number. Installation OS independent Install Python First. The program won’t work unless you install Python. Click here to install Python. The official Python docs are good enough to help you through the installation. Create a folder (presumably called j2n), and […]

Read more

A Game Engine Made in Python with the Pygame Module

A Game Engine Made in Python with the Pygame Module Discord: https://discord.gg/MPPqj9PNt3 To Install, type pip install mandaw To Get The Latest Version of MandawEngine: Download the zip Extract the zip Navigate to the folder in cmd or terminal and type: On Windows: python setup.py install On Mac and Linux python3 setup.py install import Mandaw from mandaw import * Make a window from mandaw import * mandaw = Mandaw() while True: mandaw.run() Make a simple square square = GameObject(mandaw, “rect”, […]

Read more
1 503 504 505 506 507 927