合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

        代做CS 839、代寫python/Java設計編程
        代做CS 839、代寫python/Java設計編程

        時間:2024-10-05  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



        CS 839: FOUNDATION MODELS HOMEWORK 1
        Instructions: Read the two problems below. Type up your results and include your plots in LaTeX. Submit your answers in two weeks (i.e., Oct. 3 2024, end of day). You will need a machine for this assignment, but a laptop (even without GPU) should still work. You may also need an OpenAI account to use ChatGPT, but a free account should work.
        1. NanoGPT Experiments. We will experiment with a few aspects of GPT training. While this normally requires significant resources, we will use a mini-implementation that can be made to run (for the character level) on any laptop. If you have a GPU on your machine (or access to one), even better, but no resources are strictly required.
        • 1. Clone Karpathy’s nanoGPT repo (https://github.com/karpathy/nanoGPT). We will use this repo for all the experiments in this problem. Read and get acquainted with the README.
        • 2. Setup and Reproduction. Run the Shakespeare character-level GPT model. Start by running the prep code, then a basic run with the default settings. Note that you will use a different command line if you have a GPU versus a non-GPU. After completing training, produce samples. In your answer, include the first two lines you’ve generated.
        • 3. Hyperparameter Experimentation. Modify the number of layers and heads, but do not take more than 10 minutes per run. What is the lowest loss you can obtain? What settings produce it on your machine?
        • 4. Evaluation Metrics. Implement a specific and a general evaluation metric. You can pick any that you would like, but with the following goals: Your specific metric is meant to capture how close your generated data distribution is to the training distribution. Your general metric need not necessarily do this and should be applicable without comparing against the training dataset. Explain your choices and report your metrics on the settings above.
        • 5.Dataset.Obtainyourfavoritetextdataset.Thismightbecollecteddatabyawriter(butnotShakespeare!), text in a different language, or whatever you would prefer. Scrape and format this data. Train nanoGPT on your new data. Vary the amount of characters of your dataset. Draw a plot on number of training characters versus your metrics from the previous part. How much data do you need to produce a reasonable score according to your metrics?
        • 6. Fine-tuning. Fine-tune the trained Shakespeare model on the dataset you built above. How much data and training do you need to go from Shakesperean output to something that resembles your dataset?
        2. Prompting. We will attempt to see how ChatGPT can cope with challenging questions.
        • 1. Zero-shot vs. Few-shot. Find an example of a prompt that ChatGPT cannot answer in a zero-shot manner,
        but can with a few-shot approach.
        • 2. Ensembling and Majority Vote. Use a zero-shot question and vary the temperature parameter to obtain multiple samples. How many samples are required before majority vote recovers the correct answer?
        • 3. Rot13. In this problem our goal is to use Rot13 encoding and ‘teach’ ChatGPT how to apply it. You can use rot13.com to quickly encode and decode. Also read about it at https://en.wikipedia.org/wiki/ROT13. Our goal is to ask questions like
        but encoded with Rot13, i.e.,
        What is the capital of France?, Jung vf gur pncvgny bs Senapr?,
        1

        Homework 1 CS 839: Foundation Models
         – What do you obtain if you ask a question like this zero-shot? Note: you may need to decode back. – What do you obtain with a few-shot variant?
        – Provide the model with additional instructions. What can you obtain?
        – Find a strategy to ultimately produce the correct answer to an encoded geographic (or other) question like this one.
        2

        請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp







         

        掃一掃在手機打開當前頁
      1. 上一篇:CPSC 219代做、代寫Java語言設計
      2. 下一篇:UMEECS542代做、代寫Java/c++編程語言
      3. 無相關信息
        合肥生活資訊

        合肥圖文信息
        挖掘機濾芯提升發動機性能
        挖掘機濾芯提升發動機性能
        戴納斯帝壁掛爐全國售后服務電話24小時官網400(全國服務熱線)
        戴納斯帝壁掛爐全國售后服務電話24小時官網
        菲斯曼壁掛爐全國統一400售后維修服務電話24小時服務熱線
        菲斯曼壁掛爐全國統一400售后維修服務電話2
        美的熱水器售后服務技術咨詢電話全國24小時客服熱線
        美的熱水器售后服務技術咨詢電話全國24小時
        海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
        海信羅馬假日洗衣機亮相AWE 復古美學與現代
        合肥機場巴士4號線
        合肥機場巴士4號線
        合肥機場巴士3號線
        合肥機場巴士3號線
        合肥機場巴士2號線
        合肥機場巴士2號線
      4. 幣安app官網下載 短信驗證碼 丁香花影院

        關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

        Copyright © 2024 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
        ICP備06013414號-3 公安備 42010502001045

        主站蜘蛛池模板: 国产成人精品a视频一区| 无码人妻精品一区二区三区东京热 | 岛国精品一区免费视频在线观看| 国精无码欧精品亚洲一区| 国产在线一区二区视频| 精品香蕉一区二区三区| 日本免费电影一区二区| 久久精品国产一区二区电影| 国产在线精品一区二区在线看| 亚洲午夜精品一区二区麻豆| 人妻无码一区二区不卡无码av| 中文字幕精品无码一区二区三区 | 国语对白一区二区三区| 亚洲av无码片区一区二区三区 | 成人免费视频一区| 91视频一区二区三区| 亚洲av福利无码无一区二区| 免费看一区二区三区四区| 久久久精品日本一区二区三区| 福利视频一区二区牛牛| 无码人妻一区二区三区精品视频| 国产一区二区三区在线看片| 国产色欲AV一区二区三区| 国产无人区一区二区三区| 老鸭窝毛片一区二区三区| 一区二区三区中文| 久久亚洲色一区二区三区| 国产亚洲无线码一区二区 | 人妻夜夜爽天天爽爽一区| 骚片AV蜜桃精品一区| 精品欧洲av无码一区二区三区| 亚洲欧洲精品一区二区三区| 亚洲中文字幕久久久一区| 久久精品无码一区二区三区不卡| 国产成人精品一区二三区熟女| 国产拳头交一区二区| 综合久久久久久中文字幕亚洲国产国产综合一区首 | 亚洲视频在线一区二区三区| 一区二区三区高清| 精品不卡一区中文字幕| 久久精品国产一区二区三区|