{"id":15175517,"url":"https://github.com/paxnea/genai-cohere-testing","last_synced_at":"2026-02-27T08:02:44.008Z","repository":{"id":239221427,"uuid":"798912100","full_name":"paxnea/genAI-cohere-testing","owner":"paxnea","description":"Notebooks for testing Cohere's Command-series LLMs.","archived":false,"fork":false,"pushed_at":"2024-05-10T19:29:06.000Z","size":5562,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-21T18:14:30.292Z","etag":null,"topics":["cohere","cohere-ai","command","command-r","generative-ai","prompt-engineering"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paxnea.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-10T18:35:33.000Z","updated_at":"2024-05-10T19:30:55.000Z","dependencies_parsed_at":"2024-05-12T18:00:50.489Z","dependency_job_id":null,"html_url":"https://github.com/paxnea/genAI-cohere-testing","commit_stats":null,"previous_names":["paxnea/genai-cohere-testing"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paxnea%2FgenAI-cohere-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paxnea%2FgenAI-cohere-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paxnea%2FgenAI-cohere-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paxnea%2FgenAI-cohere-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paxnea","download_url":"https://codeload.github.com/paxnea/genAI-cohere-testing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240063928,"owners_count":19742227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cohere","cohere-ai","command","command-r","generative-ai","prompt-engineering"],"created_at":"2024-09-27T12:39:21.352Z","updated_at":"2026-02-27T08:02:43.919Z","avatar_url":"https://github.com/paxnea.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# genAI-cohere-testing\nNotebooks for testing Cohere's Command-series LLMs.\n\n## Length Testing\nTesting Command and Command-R compliance with prompt-enforced length control of outputs.\n\n### Methods\nA list of five synonym phrases for maximum limitation restrictions (i.e. phrases that\nrestricted Command’s output to x characters or less) was developed based on general use\npopularity and is as follows:\n\n```['at most', 'no more than', 'less than', 'maximum', 'under']```\n\nThen the following template was used for all prompts:\n\n```What is gravity? Your explanation should be ____ 150 words.```\n\nwhere ____ is replaced by each individual limitation phrasing.\n\n### Results\nAPI calls are sent to Command (1000 completions) and Command-R (100 completions)\nmodels using default preamble and temperature parameters. The resulting histograms of word\ncounts are shown below, with highlighted bins corresponding to the acceptable completions.\n| Command: 1000 completions | Command-R: 100 completions |\n|---|---|\n|![max_limit](https://github.com/paxnea/genAI-cohere-testing/assets/133911288/0dd0f38a-fc79-44af-b991-cf612de89e91)|![max_limit](https://github.com/paxnea/genAI-cohere-testing/assets/133911288/3bbc13b1-293f-4433-984c-6af9f5de43c2)|\n\nFurther mini-tests of 100 completions each were also done on lists of five synonym phrases for \nminimum, approximate, and exact limitation retrictions on Command and Command-R models. \nResults can be found in their corresponding folders.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaxnea%2Fgenai-cohere-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaxnea%2Fgenai-cohere-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaxnea%2Fgenai-cohere-testing/lists"}