Pinned Loading
-
CurlyDL
CurlyDL PublicA robust, feature-rich download manager for Python with support for parallel downloads, speed limiting, and progress tracking.
Python
-
VoidShader
VoidShader PublicA Godot experiment exploring shader techniques to replicate and visualize the void through procedural graphics and audio synthesis.
GDScript
-
Import oneplus notes app backup to g...
Import oneplus notes app backup to google keep: 1import json
2import gkeepapi
34# Install clone app, go to settings -> additional features -> backup and reset and make a local backup from settings5# Then you can find the backup file in android/data/com.oneplus.backupRestore, then copy rich text from there, it's -
This code provides a comprehensive s...
This code provides a comprehensive solution for processing and translating large text files using OpenAI's GPT-4 model. It begins by importing necessary libraries, including NLTK for sentence tokenization and a custom tiktoken library for token encoding. The script defines two key functions: split_text_by_sentences and split_text_by_tokens, which split text into manageable segments based on sentence boundaries and token counts, respectively. The large_text_completion function then processes each text segment, sending it to the OpenAI API with a specified query (like a translation request) and concatenates the responses. The script reads a large text file (largeInput.txt), splits it into segments that fit within the token limits of GPT-4, and sends each segment to the model with a translation query. 1# This code provides a comprehensive solution for processing and translating large text files using OpenAI's GPT-42# model. It begins by importing necessary libraries, including NLTK for sentence tokenization and a custom tiktoken3# library for token encoding. The script defines two key functions: split_text_by_sentences and split_text_by_tokens,4# which split text into manageable segments based on sentence boundaries and token counts, respectively. The5# large_text_completion function then processes each text segment, sending it to the OpenAI API with a specified
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.



