Skip to content
View hamedkazemi's full-sized avatar

Block or report hamedkazemi

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. tinytik tinytik Public

    Go 1

  2. Pasargadae Pasargadae Public

    Opensource Cross-Platform Download Manager

    Python

  3. n8n-nodes-gmail-with-reply n8n-nodes-gmail-with-reply Public

    Just modified version of gmail node

    TypeScript 1

  4. 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-4 
    2
    # model. It begins by importing necessary libraries, including NLTK for sentence tokenization and a custom tiktoken 
    3
    # 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. The 
    5
    # large_text_completion function then processes each text segment, sending it to the OpenAI API with a specified 
  5. CurlyDL CurlyDL Public

    A robust, feature-rich download manager for Python with support for parallel downloads, speed limiting, and progress tracking.

    Python