Coder Social home page Coder Social logo

gee-with-llms's Introduction

code

prompts:

  • de_gpt4_end2end_prompt_utils.py: prompts used for Section 3 in the paper
  • de_prompt_utils.py: prompts for German atomic edit extraction and explanation generation
  • zh_prompt_utils.py: prompts for Chinese atomic edit extraction and explanation generation

fine-tune_llama2-7b:

  • fine-tune_llama2-7b.sh: parameters for fine-tuning the model
  • qlora.py: see source code here

rule_based_screening.py: the heuristic rules for screening out low-level mistakes in atomic edit extraction

SequenceMatcher_rough_edits.py: use SequenceMatcher from difflib to extract rough edits

data

fine-tune_data: the training and test data of LLM fine-tuning for German and Chinese atomic edit extraction. The data is in the format for fine-tuning ChatGPT. Sentence pair is the source and target sentence; list of edits are the rough edits extracted by SequenceMatcher; list of labels are the labels of the edits; content is the gold atomic edits.

human_annotation_data: the anonymized raw human annotation data

Sentence aligner

We modify the paragraph aligner from here to align sentences in the datasets.

gee-with-llms's People

Contributors

yixiao-song avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.