Creating a custom LLM using RHEL AI Red Hat Enterprise Linux AI 1.1 Creating files for customizing LLMs and running the end-to-end workflow Red Hat RHEL AI Documentation Team

Commands:
Phoenix (constellation) **Phoenix** is a minor [constellation](constellation "wikilink") in the [southern sky](southern_sky "wikilink"). Named after the mythical [phoenix](Phoenix_(mythology) "wikilink"), it was first depicted on a celestial atlas by [Johann Bayer](Johann_Bayer "wikilink") in his 1603 *[Uranometria](Uranometria "wikilink")*. The French explorer and astronomer [Nicolas Louis de Lacaille](Nicolas_Louis_de_Lacaille "wikilink") charted the brighter stars and gave their [Bayer designations](Bayer_designation "wikilink") in 1756. The constellation stretches from roughly −39 degrees to −57 degrees [declination](declination "wikilink"), and from 23.5h to 2.5h of [right ascension](right_ascension "wikilink"). The constellations Phoenix, [Grus](Grus_(constellation) "wikilink"), [Pavo](Pavo_(constellation) "wikilink") and [Tucana](Tucana "wikilink"), are known as the Southern Birds. The brightest star, [Alpha Phoenicis](Alpha_Phoenicis "wikilink"), is named Ankaa, an [Arabic](Arabic "wikilink") word meaning 'the Phoenix'. It is an orange giant of apparent magnitude 2.4. Next is [Beta Phoenicis](Beta_Phoenicis "wikilink"), actually a [binary](Binary_star "wikilink") system composed of two yellow giants with a combined apparent magnitude of 3.3. [Nu Phoenicis](Nu_Phoenicis "wikilink") has a dust disk, while the constellation has ten star systems with known planets and the recently discovered [galaxy clusters](galaxy_cluster "wikilink") [El Gordo](El_Gordo_(galaxy_cluster) "wikilink") and the [Phoenix Cluster](Phoenix_Cluster "wikilink")-located 7.2 and 5.7 billion light years away respectively, two of the largest objects in the [visible universe](visible_universe "wikilink"). Phoenix is the [radiant](radiant_(meteor_shower) "wikilink") of two annual [meteor showers](meteor_shower "wikilink"): the [Phoenicids](Phoenicids "wikilink") in December, and the July Phoenicids. ## History Phoenix was the largest of the 12 constellations established by [Petrus Plancius](Petrus_Plancius "wikilink") from the observations of [Pieter Dirkszoon Keyser](Pieter_Dirkszoon_Keyser "wikilink") and [Frederick de Houtman](Frederick_de_Houtman "wikilink"). It first appeared on a 35-cm diameter celestial globe published in 1597 (or 1598) in Amsterdam by Plancius with [Jodocus Hondius](Jodocus_Hondius "wikilink"). The first depiction of this constellation in a celestial atlas was in [Johann Bayer](Johann_Bayer "wikilink")'s *[Uranometria](Uranometria "wikilink")* of 1603. De Houtman included it in his southern star catalog the same year under the Dutch name *Den voghel Fenicx*, "The Bird Phoenix", symbolising the [phoenix](Phoenix_(mythology) "wikilink") of classical mythology. One name of the brightest star [Alpha Phoenicis](Alpha_Phoenicis "wikilink")-Ankaa-is derived from the Arabic: ?l`nq??, romanized: al-'anqa', lit. 'the phoenix', and was coined sometime after 1800 in relation to the constellation. Celestial historian Richard Allen noted that unlike the other constellations introduced by Plancius and [La Caille](La_Caille "wikilink"), Phoenix has actual precedent in ancient astronomy, as the Arabs saw this formation as representing young ostriches, *Al Ri'al*, or as a griffin or eagle. In addition, the same group of stars was sometimes imagined by the Arabs as a boat, *Al Zaurak*, on the nearby river Eridanus. He observed, "the introduction of a Phoenix into modern astronomy was, in a measure, by adoption rather than by invention." The Chinese incorporated Phoenix's brightest star, Ankaa (Alpha Phoenicis), and stars from the adjacent constellation [Sculptor](Sculptor_(constellation) "wikilink") to depict *Bakui*, a net for catching birds. Phoenix and the neighbouring constellation of [Grus](Grus_(constellation) "wikilink") together were seen by [Julius Schiller](Julius_Schiller "wikilink") as portraying [Aaron](Aaron "wikilink") the High Priest. These two constellations, along with nearby [Pavo](Pavo_(constellation) "wikilink") and [Tucana](Tucana "wikilink"), are called the Southern Birds. ## Characteristics Phoenix is a small constellation bordered by [Fornax](Fornax "wikilink") and Sculptor to the north, Grus to the west, Tucana to the south, touching on the corner of [Hydrus](Hydrus "wikilink") to the south, and [Eridanus](Eridanus_(constellation) "wikilink") to the east and southeast. The bright star [Achernar](Achernar "wikilink") is nearby. The three-letter abbreviation for the constellation, as adopted by the [International Astronomical Union](International_Astronomical_Union "wikilink") in 1922, is "Phe". The official constellation boundaries, as set by Belgian astronomer [Eugene Delporte](Eugene_Joseph_Delporte "wikilink") in 1930, are defined by a polygon of 10 segments. In the [equatorial coordinate system](equatorial_coordinate_system "wikilink"), the [right ascension](right_ascension "wikilink") coordinates of these borders lie between 23<sup>h</sup> 26.5<sup>m</sup> and 02<sup>h</sup> 25.0<sup>m</sup>, while the [declination](declination "wikilink") coordinates are between −39.31deg and −57.84deg. This means it remains below the horizon to anyone living north of the [40th parallel](40th_parallel_north "wikilink") in the [Northern Hemisphere](Northern_Hemisphere "wikilink"), and remains low in the sky for anyone living north of the [equator](equator "wikilink"). It is most visible from locations such as Australia and South Africa during late [Southern Hemisphere](Southern_Hemisphere "wikilink") spring. Most of the constellation lies within, and can be located by, forming a triangle of the bright stars Achernar, [Fomalhaut](Fomalhaut "wikilink") and [Beta Ceti](Beta_Ceti "wikilink")-Ankaa lies roughly in the centre of this.
taxonomy/knowledge/technical_documents/product_customer_cases/qna.yaml
ilab taxonomy diff
knowledge/technical_documents/product_customer_cases/qna.yaml Taxonomy in /taxonomy/ is valid :)
9:15 error syntax error: mapping values are not allowed here (syntax) Reading taxonomy failed with the following error: 1 taxonomy with errors! Exiting.
version: 3 1 domain: astronomy 2 created_by: <user-name> 3 seed_examples: - context: | 4 **Phoenix** is a minor [constellation](constellation "wikilink") in the [southern sky](southern_sky "wikilink"). Named after the mythical [phoenix](Phoenix_(mythology) "wikilink"), it was first depicted on a celestial atlas by [Johann Bayer](Johann_Bayer "wikilink") in his 1603 *[Uranometria](Uranometria "wikilink")*. The French explorer and astronomer [Nicolas Louis de Lacaille](Nicolas_Louis_de_Lacaille "wikilink") charted the brighter stars and gave their [Bayer designations](Bayer_designation "wikilink") in 1756. The constellation stretches from roughly −39 degrees to −57 degrees [declination](declination "wikilink"), and from 23.5h to 2.5h of [right ascension](right_ascension "wikilink"). The constellations Phoenix, [Grus](Grus_(constellation) "wikilink"), [Pavo](Pavo_(constellation) "wikilink") and [Tucana](Tucana "wikilink"), are known as the Southern Birds. Birds. questions_and_answers: - question: | 5 What is the Phoenix constellation? answer: | 6 Phoenix is a minor constellation in the southern sky. - question: | Who charted the Phoenix constellation? answer: | The Phoenix constellation was charted by french explorer and astronomer Nicolas Louis de Lacaille. - question: | How far does the Phoenix constellation stretch? answer: | The phoenix constellation stretches from roughly −39deg to −57deg declination, and from 23.5h to 2.5h of right ascension. - context: | Phoenix was the largest of the 12 constellations established by [Petrus Plancius](Petrus_Plancius "wikilink") from the observations of [Pieter Dirkszoon Keyser](Pieter_Dirkszoon_Keyser "wikilink") and [Frederick de Houtman](Frederick_de_Houtman "wikilink"). It first appeared on a 35cm diameter celestial globe published in 1597 (or 1598) in Amsterdam by Plancius with [Jodocus Hondius](Jodocus_Hondius "wikilink"). The first depiction of this constellation in a celestial atlas was in [Johann Bayer](Johann_Bayer "wikilink")'s *[Uranometria](Uranometria "wikilink")* of 1603. De Houtman included it in his southern star catalog the same year under the Dutch name *Den voghel Fenicx*, "The Bird Phoenix", symbolising the [phoenix](Phoenix_(mythology) "wikilink") of classical mythology. One name of the brightest star [Alpha Phoenicis](Alpha_Phoenicis "wikilink")-Ankaa-is derived from the Arabic: ?l`nq??, romanized: al-'anqa', lit. 'the phoenix', and was coined sometime after 1800 in relation to the constellation. questions_and_answers: - question: | What is the brightest star in the Phoenix constellation called? answer: | Alpha Phoenicis or Ankaa is the brightest star in the Phoenix Constellation. - question: Where did the Phoenix constellation first appear? answer: | The Phoenix constellation first appeared on a 35-cm diameter celestial globe published in 1597 (or 1598) in Amsterdam by Plancius with Jodocus Hondius. - question: | What does "The Bird Phoenix" symbolize? answer: | "The Bird Phoenix" symbolizes the phoenix of classical mythology. - context: | Phoenix is a small constellation bordered by [Fornax](Fornax "wikilink") and Sculptor to the north, Grus to the west, Tucana to the south, touching on the corner of [Hydrus](Hydrus "wikilink") to the south, and [Eridanus](Eridanus_(constellation) "wikilink") to the east and southeast. The bright star [Achernar](Achernar "wikilink") is nearby. The three-letter abbreviation for the constellation, as adopted by the [International Astronomical Union](International_Astronomical_Union "wikilink") in 1922, is "Phe". The official constellation boundaries, as set by Belgian astronomer [Eugene Delporte](Eugene_Joseph_Delporte "wikilink") in 1930, are defined by a polygon of 10 segments. In the [equatorial coordinate system](equatorial_coordinate_system "wikilink"), the [right ascension](right_ascension "wikilink") coordinates of these borders lie between 23<sup>h</sup> 26.5<sup>m</sup> and 02<sup>h</sup> 25.0<sup>m</sup>, while the [declination](declination "wikilink") coordinates are between −39.31deg and −57.84deg. This means it remains below the horizon to anyone living north of the [40th parallel](40th_parallel_north "wikilink") in the [Northern Hemisphere](Northern_Hemisphere "wikilink"), and remains low in the sky for anyone living north of the [equator](equator "wikilink"). It is most visible from locations such as Australia and South Africa during late [Southern Hemisphere](Southern_Hemisphere "wikilink") spring. Most of the constellation lies within, and can be located by, forming a triangle of the bright stars Achernar, [Fomalhaut](Fomalhaut "wikilink") and [Beta Ceti](Beta_Ceti "wikilink")-Ankaa lies roughly in the centre of this. questions_and_answers: - question: What are the characteristics of the Phoenix constellation? answer: | Phoenix is a small constellation bordered by Fornax and Sculptor to the north, Grus to the west, Tucana to the south, touching on the corner of Hydrus to the south, and Eridanus to the east and southeast. The bright star Achernar is nearby. - question: | When is the phoenix constellation most visible? answer: | Phoenix is most visible from locations such as Australia and South Africa during late Southern Hemisphere spring. - question: | What are the Phoenix Constellation boundaries? answer: | The official constellation boundaries for Phoenix, as set by Belgian astronomer Eugene Delporte in 1930, are defined by a polygon of 10 segments. - context: | Ten stars have been found to have planets to date, and four planetary systems have been discovered with the [SuperWASP](SuperWASP "wikilink") project. [HD 142](HD_142 "wikilink") is a yellow giant that has an apparent magnitude of 5.7, and has a planet ([HD 142b](HD_142_b "wikilink")) 1.36 times the mass of Jupiter which orbits every 328 days. [HD 2039](HD_2039 "wikilink") is a yellow subgiant with an apparent magnitude of 9.0 around 330 light years away which has a planet ([HD 2039 b](HD_2039_b "wikilink")) six times the mass of Jupiter. [WASP-18](WASP-18 "wikilink") is a star of magnitude 9.29 which was discovered to have a hot Jupiter-like planet ([WASP-18b](WASP-18b "wikilink")) taking less than a day to orbit the star. The planet is suspected to be causing WASP-18 to appear older than it really is. [WASP-4](WASP-4 "wikilink") and [WASP-5](WASP-5 "wikilink") are solar-type yellow stars around 1000 light years distant and of 13th magnitude, each with a single planet larger than Jupiter. [WASP-29](WASP-29 "wikilink") is an orange dwarf of spectral type K4V and visual magnitude 11.3, which has a planetary companion of similar size and mass to Saturn. The planet completes an orbit every 3.9 days. questions_and_answers: - question: In the Phoenix constellation, how many stars have planets? answer: | In the Phoenix constellation, ten stars have been found to have planets to date, and four planetary systems have been discovered with the SuperWASP project. - question: | What is HD 142? answer: | HD 142 is a yellow giant that has an apparent magnitude of 5.7, and has a planet (HD 142 b) 1.36 times the mass of Jupiter which orbits every 328 days. - question: | Are WASP-4 and WASP-5 solar-type yellow stars? answer: | Yes, WASP-4 and WASP-5 are solar-type yellow stars around 1000 light years distant and of 13th magnitude, each with a single planet larger than Jupiter. - context: | The constellation does not lie on the [galactic plane](galactic_plane "wikilink") of the Milky Way, and there are no prominent star clusters. [NGC 625](NGC_625 "wikilink") is a dwarf [irregular galaxy](irregular_galaxy "wikilink") of apparent magnitude 11.0 and lying some 12.7 million light years distant. Only 24000 light years in diameter, it is an outlying member of the [Sculptor Group](Sculptor_Group "wikilink"). NGC 625 is thought to have been involved in a collision and is experiencing a burst of [active star formation](Active_galactic_nucleus "wikilink"). [NGC 37](NGC_37 "wikilink") is a [lenticular galaxy](lenticular_galaxy "wikilink") of apparent magnitude 14.66. It is approximately 42 [kiloparsecs](kiloparsecs "wikilink") (137,000 [light-years](light-years "wikilink")) in diameter and about 12.9 billion years old. [Robert's Quartet](Robert's_Quartet "wikilink") (composed of the irregular galaxy [NGC 87](NGC_87 "wikilink"), and three spiral galaxies [NGC 88](NGC_88 "wikilink"), [NGC 89](NGC_89 "wikilink") and [NGC 92](NGC_92 "wikilink")) is a group of four galaxies located around 160 million light-years away which are in the process of colliding and merging. They are within a circle of radius of 1.6 arcmin, corresponding to about 75,000 light-years. Located in the galaxy ESO 243-49 is [HLX-1](HLX-1 "wikilink"), an [intermediate-mass black hole](intermediate-mass_black_hole "wikilink")-the first one of its kind identified. It is thought to be a remnant of a dwarf galaxy that was absorbed in a [collision](Interacting_galaxy "wikilink") with ESO 243-49. Before its discovery, this class of black hole was only hypothesized. questions_and_answers: - question: | Is the Phoenix Constellation part of the Milky Way? answer: | The Phoenix constellation does not lie on the galactic plane of the Milky Way, and there are no prominent star clusters. - question: | How many light years away is NGC 625? answer: | NGC 625 is 24000 light years in diameter and is an outlying member of the Sculptor Group. - question: | What is Robert's Quartet composed of? answer: | Robert's Quartet is composed of the irregular galaxy NGC 87, and three spiral galaxies NGC 88, NGC 89 and NGC 92. document_outline: | 7 Information about the Phoenix Constellation including the history, characteristics, and features of the stars in the constellation. document: repo: https://github.com/<profile>/<repo-name> / 8 commit: <commit hash> 9 patterns: - phoenix_constellation.md 10
Title of work: Phoenix (constellation) Link to work: https://en.wikipedia.org/wiki/Phoenix_(constellation) Revision: https://en.wikipedia.org/w/index.php?title=Phoenix_(constellation)&oldid=1237187773 License of the work: CC-BY-SA-4.0 Creator names: Wikipedia Authors
ilab data generate
Starting a temporary vLLM server at http://127.0.0.1:47825/v1 INFO 2024-08-22 17:01:09,461 instructlab.model.backends.backends:480: Waiting for the vLLM server to start at http://127.0.0.1:47825/v1, this might take a moment... Attempt: 1/120 INFO 2024-08-22 17:01:14,213 instructlab.model.backends.backends:480: Waiting for the vLLM server to start at http://127.0.0.1:47825/v1, this might take a moment... Attempt: 2/120 INFO 2024-08-22 17:01:19,142 instructlab.model.backends.backends:480: Waiting for the vLLM server to start at http://127.0.0.1:47825/v1, this might take a moment... Attempt: 3/120
INFO 2024-08-22 15:16:38,933 instructlab.model.backends.backends:480: Waiting for the vLLM server to start at http://127.0.0.1:49311/v1, this might take a moment... Attempt: 73/120 INFO 2024-08-22 15:16:43,497 instructlab.model.backends.backends:480: Waiting for the vLLM server to start at http://127.0.0.1:49311/v1, this might take a moment... Attempt: 74/120 INFO 2024-08-22 15:16:45,949 instructlab.model.backends.backends:487: vLLM engine successfully started at http://127.0.0.1:49311/v1 Generating synthetic data using '/usr/share/instructlab/sdg/pipelines/agentic' pipeline, '/var/home/cloud-user/.cache/instructlab/models/mixtral-8x7b-instruct-v0-1' model, '/var/home/cloud-user/.local/share/instructlab/taxonomy' taxonomy, against http://127.0.0.1:49311/v1 server INFO 2024-08-22 15:16:46,594 instructlab.sdg:375: Synthesizing new instructions. If you aren't satisfied with the generated instructions, interrupt training (Ctrl-C) and try adjusting your YAML files. Adding more examples may help.
INFO 2024-08-16 17:12:46,548 instructlab.sdg.datamixing:200: Mixed Dataset saved to /home/example-user/.local/share/instructlab/datasets/skills_train_msgs_2024-08-16T16_50_11.jsonl INFO 2024-08-16 17:12:46,549 instructlab.sdg:438: Generation took 1355.74s
ls ~/.local/share/instructlab/datasets/
knowledge_recipe_2024-08-13T20_54_21.yaml skills_recipe_2024-08-13T20_54_21.yaml knowledge_train_msgs_2024-08-13T20_54_21.jsonl skills_train_msgs_2024-08-13T20_54_21.jsonl messages_granite-7b-lab-Q4_K_M_2024-08-13T20_54_21.jsonl node_datasets_2024-08-13T15_12_12/
cat ~/.local/share/datasets/<jsonl-dataset>
{"messages":[{"content":"I am, Red Hat\u00ae Instruct Model based on Granite 7B, an AI language model developed by Red Hat and IBM Research, based on the Granite-7b-base language model. My primary function is to be a chat assistant.","role":"system"},{"content":"
\n### Deep-sky objects\n\nThe constellation does not lie on the [galactic\nplane](galactic_plane \"wikilink\") of the Milky Way, and there are no\nprominent star clusters. [NGC 625](NGC_625 \"wikilink\") is a dwarf\n[irregular galaxy](irregular_galaxy \"wikilink\") of apparent magnitude\n11.0 and lying some 12.7 million light years distant. Only 24000 light\nyears in diameter, it is an outlying member of the [Sculptor\nGroup](Sculptor_Group \"wikilink\"). NGC 625 is thought to have been\ninvolved in a collision and is experiencing a burst of [active star\nformation](Active_galactic_nucleus \"wikilink\"). [NGC\n37](NGC_37 \"wikilink\") is a [lenticular\ngalaxy](lenticular_galaxy \"wikilink\") of apparent magnitude 14.66. It is\napproximately 42 [kiloparsecs](kiloparsecs \"wikilink\") (137,000\n[light-years](light-years \"wikilink\")) in diameter and about 12.9\nbillion years old. [Robert's Quartet](Robert's_Quartet \"wikilink\")\n(composed of the irregular galaxy [NGC 87](NGC_87 \"wikilink\"), and three\nspiral galaxies [NGC 88](NGC_88 \"wikilink\"), [NGC 89](NGC_89 \"wikilink\")\nand [NGC 92](NGC_92 \"wikilink\")) is a group of four galaxies located\naround 160 million light-years away which are in the process of\ncolliding and merging. They are within a circle of radius of 1.6 arcmin,\ncorresponding to about 75,000 light-years. Located in the galaxy ESO\n243-49 is [HLX-1](HLX-1 \"wikilink\"), an [intermediate-mass black\nhole](intermediate-mass_black_hole \"wikilink\")the first one of its kind\nidentified. It is thought to be a remnant of a dwarf galaxy that was\nabsorbed in a [collision](Interacting_galaxy \"wikilink\") with ESO\n243-49. Before its discovery, this class of black hole was only\nhypothesized.\n\nLying within the bounds of the constellation is the gigantic [Phoenix\ncluster](Phoenix_cluster \"wikilink\"), which is around 7.3 million light\nyears wide and 5.7 billion light years away, making it one of the most\nmassive [galaxy clusters](galaxy_cluster \"wikilink\"). It was first\ndiscovered in 2010, and the central galaxy is producing an estimated 740\nnew stars a year. Larger still is [El\nGordo](El_Gordo_(galaxy_cluster) \"wikilink\"), or officially ACT-CL\nJ0102-4915, whose discovery was announced in 2012. Located around\n7.2 billion light years away, it is composed of two subclusters in the\nprocess of colliding, resulting in the spewing out of hot gas, seen in\nX-rays and infrared images.\n\n### Meteor showers\n\nPhoenix is the [radiant](radiant_(meteor_shower) \"wikilink\") of two\nannual [meteor showers](meteor_shower \"wikilink\"). The\n[Phoenicids](Phoenicids \"wikilink\"), also known as the December\nPhoenicids, were first observed on 3 December 1887. The shower was\nparticularly intense in December 1956, and is thought related to the\nbreakup of the [short-period comet](short-period_comet \"wikilink\")\n[289P\/Blanpain](289P\/Blanpain \"wikilink\"). It peaks around 45 December,\nthough is not seen every year. A very minor meteor shower peaks\naround July 14 with around one meteor an hour, though meteors can be\nseen anytime from July 3 to 18; this shower is referred to as the July\nPhoenicids.\n\nHow many light years wide is the Phoenix cluster?\n
\n' 'The Phoenix cluster is around 7.3 million light years wide.'","role":"pretraining"}],"metadata":"{\"sdg_document\": \"### Deep-sky objects\\n\\nThe constellation does not lie on the [galactic\\nplane](galactic_plane \\\"wikilink\\\") of the Milky Way, and there are no\\nprominent star clusters. [NGC 625](NGC_625 \\\"wikilink\\\") is a dwarf\\n[irregular galaxy](irregular_galaxy \\\"wikilink\\\") of apparent magnitude\\n11.0 and lying some 12.7 million light years distant. Only 24000 light\\nyears in diameter, it is an outlying member of the [Sculptor\\nGroup](Sculptor_Group \\\"wikilink\\\"). NGC 625 is thought to have been\\ninvolved in a collision and is experiencing a burst of [active star\\nformation](Active_galactic_nucleus \\\"wikilink\\\"). [NGC\\n37](NGC_37 \\\"wikilink\\\") is a [lenticular\\ngalaxy](lenticular_galaxy \\\"wikilink\\\") of apparent magnitude 14.66. It is\\napproximately 42 [kiloparsecs](kiloparsecs \\\"wikilink\\\") (137,000\\n[light-years](light-years \\\"wikilink\\\")) in diameter and about 12.9\\nbillion years old. [Robert's Quartet](Robert's_Quartet \\\"wikilink\\\")\\n(composed of the irregular galaxy [NGC 87](NGC_87 \\\"wikilink\\\"), and three\\nspiral galaxies [NGC 88](NGC_88 \\\"wikilink\\\"), [NGC 89](NGC_89 \\\"wikilink\\\")\\nand [NGC 92](NGC_92 \\\"wikilink\\\")) is a group of four galaxies located\\naround 160 million light-years away which are in the process of\\ncolliding and merging. They are within a circle of radius of 1.6 arcmin,\\ncorresponding to about 75,000 light-years. Located in the galaxy ESO\\n243-49 is [HLX-1](HLX-1 \\\"wikilink\\\"), an [intermediate-mass black\\nhole](intermediate-mass_black_hole \\\"wikilink\\\")\the first one of its kind\\nidentified. It is thought to be a remnant of a dwarf galaxy that was\\nabsorbed in a [collision](Interacting_galaxy \\\"wikilink\\\") with ESO\\n243-49. Before its discovery, this class of black hole was only\\nhypothesized.\\n\\nLying within the bounds of the constellation is the gigantic [Phoenix\\ncluster](Phoenix_cluster \\\"wikilink\\\"), which is around 7.3 million light\\nyears wide and 5.7 billion light years away, making it one of the most\\nmassive [galaxy clusters](galaxy_cluster \\\"wikilink\\\"). It was first\\ndiscovered in 2010, and the central galaxy is producing an estimated 740\\nnew stars a year. Larger still is [El\\nGordo](El_Gordo_(galaxy_cluster) \\\"wikilink\\\"), or officially ACT-CL\\nJ0102-4915, whose discovery was announced in 2012. Located around\\n7.2 billion light years away, it is composed of two subclusters in the\\nprocess of colliding, resulting in the spewing out of hot gas, seen in\\nX-rays and infrared images.\\n\\n### Meteor showers\\n\\nPhoenix is the [radiant](radiant_(meteor_shower) \\\"wikilink\\\") of two\\nannual [meteor showers](meteor_shower \\\"wikilink\\\"). The\\n[Phoenicids](Phoenicids \\\"wikilink\\\"), also known as the December\\nPhoenicids, were first observed on 3 December 1887. The shower was\\nparticularly intense in December 1956, and is thought related to the\\nbreakup of the [short-period comet](short-period_comet \\\"wikilink\\\")\\n[289P\/Blanpain](289P\/Blanpain \\\"wikilink\\\"). It peaks around 4\5 December,\\nthough is not seen every year. A very minor meteor shower peaks\\naround July 14 with around one meteor an hour, though meteors can be\\nseen anytime from July 3 to 18; this shower is referred to as the July\\nPhoenicids.\", \"domain\": \"astronomy\", \"dataset\": \"document_knowledge_qa\"}","id":"1df7c219-a062-4511-8bae-f55c88927dc1"}
ilab model train --strategy lab-multiphase --phased-phase1-data ~/.local/share/instructlab/datasets/<knowledge-train-messages-jsonl-file> --phased-phase2-data ~/.local/share/instructlab/datasets/<skills-train-messages-jsonl-file>
Training Phase 1/2 TrainingArgs for current phase: TrainingArgs(model_path='/opt/app-root/src/.cache/instructlab/models/granite-7b-starter', chat_tmpl_path='/opt/app-root/lib64/python3.11/site-packages/instructlab/training/chat_templates/ibm_generic_tmpl.py', data_path='/tmp/jul19-knowledge-26k.jsonl', ckpt_output_dir='/tmp/e2e/phase1/checkpoints', data_output_dir='/opt/app-root/src/.local/share/instructlab/internal', max_seq_len=4096, max_batch_len=55000, num_epochs=2, effective_batch_size=128, save_samples=0, learning_rate=2e-05, warmup_steps=25, is_padding_free=True, random_seed=42, checkpoint_at_epoch=True, mock_data=False, mock_data_len=0, deepspeed_options=DeepSpeedOptions(cpu_offload_optimizer=False, cpu_offload_optimizer_ratio=1.0, cpu_offload_optimizer_pin_memory=False, save_samples=None), disable_flash_attn=False, lora=LoraOptions(rank=0, alpha=32, dropout=0.1, target_modules=('q_proj', 'k_proj', 'v_proj', 'o_proj'), quantize_data_type=<QuantizeDataType.NONE: None>))
MMLU evaluation for Phase 1 INFO 2024-08-15 01:23:40,975 lm-eval:152: Setting random seed to 0 | Setting numpy seed to 1234 | Setting torch manual seed to 1234 INFO 2024-08-15 01:23:40,976 lm-eval:189: Initializing hf model, with arguments: {'pretrained': '/tmp/e2e/phase1/checkpoints/hf_format/samples_26112', 'dtype': 'bfloat16'} Loading checkpoint shards: 0%| | 0/3 [00:00<?, ?it/s] Loading checkpoint shards: 33%|███▎ | 1/3 [00:01<00:02, 1.28s/it] Loading checkpoint shards: 67%|██████▋ | 2/3 [00:02<00:01, 1.15s/it] Loading checkpoint shards: 100%|██████████| 3/3 [00:02<00:00, 1.36it/s] Loading checkpoint shards: 100%|██████████| 3/3 [00:02<00:00, 1.16it/s]
Training Phase 2/2 TrainingArgs for current phase: TrainingArgs(model_path='/tmp/e2e/phase1/checkpoints/hf_format/samples_52096', chat_tmpl_path='/opt/app-root/lib64/python3.11/site-packages/instructlab/training/chat_templates/ibm_generic_tmpl.py', data_path='/usr/share/instructlab/sdg/datasets/skills.jsonl', ckpt_output_dir='/tmp/e2e/phase2/checkpoints', data_output_dir='/opt/app-root/src/.local/share/instructlab/internal', max_seq_len=4096, max_batch_len=55000, num_epochs=2, effective_batch_size=3840, save_samples=0, learning_rate=2e-05, warmup_steps=25, is_padding_free=True, random_seed=42, checkpoint_at_epoch=True, mock_data=False, mock_data_len=0, deepspeed_options=DeepSpeedOptions(cpu_offload_optimizer=False, cpu_offload_optimizer_ratio=1.0, cpu_offload_optimizer_pin_memory=False, save_samples=None), disable_flash_attn=False, lora=LoraOptions(rank=0, alpha=32, dropout=0.1, target_modules=('q_proj', 'k_proj', 'v_proj', 'o_proj'), quantize_data_type=<QuantizeDataType.NONE: None>))
MT-Bench evaluation for Phase 2 Using gpus from --gpus or evaluate config and ignoring --tensor-parallel-size configured in serve vllm_args INFO 2024-08-15 10:04:51,065 instructlab.model.backends.backends:437: Trying to connect to model server at http://127.0.0.1:8000/v1 INFO 2024-08-15 10:04:53,580 instructlab.model.backends.vllm:208: vLLM starting up on pid 79388 at http://127.0.0.1:54265/v1 INFO 2024-08-15 10:04:53,580 instructlab.model.backends.backends:450: Starting a temporary vLLM server at http://127.0.0.1:54265/v1 INFO 2024-08-15 10:04:53,580 instructlab.model.backends.backends:465: Waiting for the vLLM server to start at http://127.0.0.1:54265/v1, this might take a moment... Attempt: 1/300 INFO 2024-08-15 10:04:58,003 instructlab.model.backends.backends:465: Waiting for the vLLM server to start at http://127.0.0.1:54265/v1, this might take a moment... Attempt: 2/300 INFO 2024-08-15 10:05:02,314 instructlab.model.backends.backends:465: Waiting for the vLLM server to start at http://127.0.0.1:54265/v1, this might take a moment... Attempt: 3/300 moment... Attempt: 3/300 INFO 2024-08-15 10:06:07,611 instructlab.model.backends.backends:472: vLLM engine successfully started at http://127.0.0.1:54265/v1
Training finished! Best final checkpoint: samples_1945 with score: 6.813759384
ls ~/.local/share/instructlab/phase/<phase1-or-phase2>/checkpoints/
samples_1711 samples_1945 samples_1456 samples_1462 samples_1903
ilab model evaluate --benchmark mmlu_branch --model ~/.local/share/instructlab/phased/<phase1-or-phase2>/checkpoints/hf_format/<checkpoint> --tasks-dir ~/.local/share/instructlab/datasets/<node-dataset> --base-model ~/.cache/instructlab/models/granite-7b-starter
KNOWLEDGE EVALUATION REPORT ## BASE MODEL /home/<example-user>/.local/share/instructlab/models/instructlab/granite-7b-starter ## MODEL /home/<example-user>/.local/share/instructlab/models/instructlab/granite-7b-starter ### AVERAGE: +1.0(across 1)
ilab model evaluate --benchmark mt_bench_branch --model ~/.local/share/checkpoints/hf_format/<checkpoint> --judge-model ~/.cache/instructlab/models/prometheus-8x7b-v2-0 --branch <worker-branch> --base-branch main --gpus <num-gpus> --enable-serving-output
SKILL EVALUATION REPORT ## BASE MODEL /home/example/.local/share/instructlab/models/instructlab/granite-7b-lab ## MODEL /home/example/.local/share/instructlab/models/instructlab/granite-7b-lab ### IMPROVEMENTS: 1. compositional_skills/extraction/receipt/markdown/qna.yaml (+4.0) ### REGRESSIONS: 1. compositional_skills/extraction/abstractive/title/qna.yaml (-5.0) ### NO CHANGE: 2. compositional_skills/extraction/commercial_lease_agreement/csv/qna.yaml ### ERROR RATE: 0.32
ilab model evaluate --benchmark mmlu --model ~/.local/share/checkpoints/hf_format/<checkpoint>
KNOWLEDGE EVALUATION REPORT ## MODEL /home/<example-user>/.local/share/instructlab/models/instructlab/granite-7b-lab ### AVERAGE: 0.45 (across 3) ### SCORES: mmlu_abstract_algebra - 0.35 mmlu_anatomy - 0.44 mmlu_astronomy - 0.55
ilab model evaluate --benchmark mt_bench --model ~/.local/share/instructlab/checkpoints/hf_format/<checkpoint> --enable-serving-output
SKILL EVALUATION REPORT ## MODEL /home/<example-user>/.local/share/instructlab/models/instructlab/granite-7b-lab ### AVERAGE: 8.07 (across 91) ### TURN ONE: 8.64 ### TURN TWO: 7.19 ### ERROR RATE: 0.43
ilab model serve --model-path <path-to-best-performed-checkpoint>
ilab model serve --model-path ~/.local/share/instructlab/phased/phase2/checkpoints/hf_format/samples_1945/
ilab model serve --model-path ~/.local/share/instructlab/phased/phase2/checkpoints/hf_format/<checkpoint> INFO 2024-03-02 02:21:11,352 lab.py:201 Using model /home/example-user/.local/share/instructlab/checkpoints/hf_format/checkpoint_1945 with -1 gpu-layers and 4096 max context size. Starting server process After application startup complete see http://127.0.0.1:8000/docs for API. Press CTRL+C to shut down the server.
ilab model chat --model <path-to-best-performed-checkpoint-file>
ilab model chat --model ~/.local/share/instructlab/phased/phase2/checkpoints/hf_format/samples_1945
ilab model chat ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────── system ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ Welcome to InstructLab Chat w/ CHECKPOINT_1945 (type /h for help) │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ >>> [S][default]