Giter VIP home page Giter VIP logo

Comments (2)

HamedBabaei avatar HamedBabaei commented on June 15, 2024

Prompt Engineerings:

  • Few-shot Prompting: adding examples in prompts to steer the model toward better performances. It enables in-context learning.
  • Chain-of-Thought Prompting: Giving instructions to the model for the reasoning task
  • Zero-Shot Chain-of-Thought Prompting: It involves adding "Let's think step by step" to the original prompt
  • Self-Consistency: Sample multiple and diverse reasoning paths through few-shot CoT and use generation to select the most consistent answers.
  • Generate Knowledge Prompting: first generate knowledge from prompt templates, second, generated knowledge used for knowledge-augmented questions to get answers, and a high-confidence response is selected as the final answer!
  • Program-aided Language Modelβ€Œ(PAL): uses LLM to read problems and generate programs as the intermediate reasoning step.
  • ReAct: using LLMs to generate both reasoning trace and task-specific actions in an interleaved manner.

from llms4ol.

HamedBabaei avatar HamedBabaei commented on June 15, 2024

samples from datasets for analysis:

dataset sample touples BLOOM GPT-2 GPT-Neo
WN18RR (show, verb), (board, verb), (seat, noun), (commando, noun), (warm, adjective), (sweet, adjective), (pediatrist, noun), (aluminize, verb)
GEONAME (Riu Xic, Andorra, H.STM, stream), (Dayong Qiao, Taiwan, S.BDG, bridge), (Sherriffs Farm, South Africa, S.FRM, farm), (Gombewa, Niger, P.PPL, populated place), (Nisis Mandili, Greece, T.ISL, island), (Tanpelaga, Burkina Faso, T.HLLS, hills), (Union North Ambulance Service, United States, S.BLDG, building)
NCI, MEDCIN, SNOMEDCT_US (Recombinant NDV Expressing GM-CSF, virus), (h*ngEq/mL, quantitative concept), (Mindset Intervention, therapeutic or preventive procedure), (Drug Resistant Bacterial Infection, disease or syndrome), (Severe ARDS, disease or syndrome), (acanthosis nigricans, disease or syndrome), (metabolic syndrome profile, laboratory procedure)
  • seat: he booked their seats in advance
  • show: She shows her dogs frequently
  • warm: a warm body

T1:

Identify the part of speech tag for the following word.

word: 
part of speech tag: 

from llms4ol.

Related Issues (20)

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.