Skip to content
TheChatArchiveThe Chat Archive
GeminiGemini (model unspecified)· GoogleHugging Face ShareLM (browser-extension contributions)

Write code that views CMV dataet from Convokit?

  1. User

    Write code that views CMV dataet from Convokit?

  2. Gemini Assistant

    I've created a Python script that will download the "Change My View" (CMV) dataset using Convokit and show you several ways to "view" the data.It will:Download and load the winning-args-corpus (a well-known CMV dataset).Print a high-level summary of the entire dataset.Select a random conversation and display its title and the first few comments.Select a random single utterance (a comment) and show its specific details, including its "success" metadata.view_cmv_data.py:filepathNov 13, 1:34 PM Try again without Canvas To run this, you'll first need to install Convokit: pip install convokitThen, you can save the code as view_cmv_data.py and run it from your terminal: python view_cmv_data.pyThis will download the data (which may take a moment) and then print the output for you to inspect.This SIGDIAL talk introduces the ConvoKit toolkit. This video provides a great high-level overview of ConvoKit, the toolkit used in the script to access and analyze conversational data. ConvoKit: A Toolkit for the Analysis of Conversations - YouTubeSIGDIAL 2020 · 1.6K views